Class AuthnCallback.SSLServerTrustResult
- java.lang.Object
-
- org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
-
- org.apache.subversion.javahl.callback.AuthnCallback.SSLServerTrustResult
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- AuthnCallback
public static final class AuthnCallback.SSLServerTrustResult extends AuthnCallback.AuthnResult implements Serializable
The result type used by {@see #sslServerTrustPrompt}.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
identity, save, secret, trust
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthnCallback.SSLServerTrustResultacceptPermanently()Create a result that permanently accepts the certificate.static AuthnCallback.SSLServerTrustResultacceptTemporarily()Create a result that temporarily accepts the certificate, for the duration of the current connection.static AuthnCallback.SSLServerTrustResultreject()Create a result that rejects the certificate.
-
-
-
Method Detail
-
reject
public static AuthnCallback.SSLServerTrustResult reject()
Create a result that rejects the certificate.
-
acceptTemporarily
public static AuthnCallback.SSLServerTrustResult acceptTemporarily()
Create a result that temporarily accepts the certificate, for the duration of the current connection.
-
acceptPermanently
public static AuthnCallback.SSLServerTrustResult acceptPermanently()
Create a result that permanently accepts the certificate.
-
-