org.apache.subversion.javahl.callback
Class AuthnCallback.SSLServerTrustResult

java.lang.Object
  extended by org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
      extended by 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 AuthnCallback.sslServerTrustPrompt(java.lang.String, org.apache.subversion.javahl.callback.AuthnCallback.SSLServerCertFailures, org.apache.subversion.javahl.callback.AuthnCallback.SSLServerCertInfo, boolean).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.subversion.javahl.callback.AuthnCallback.AuthnResult
identity, save, secret, trust
 
Method Summary
static AuthnCallback.SSLServerTrustResult acceptPermanently()
          Create a result that permanently accepts the certificate.
static AuthnCallback.SSLServerTrustResult acceptTemporarily()
          Create a result that temporarily accepts the certificate, for the duration of the current connection.
static AuthnCallback.SSLServerTrustResult reject()
          Create a result that rejects the certificate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.