public interface CertAuthCapableAuthModule
AuthenticationModule implementations that are able to be used with certificate authentication| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate |
getCA()
Returns the certificate authority to use for certificate authentication
Only certificates will be allowed to login that are signed against this CA
|
java.security.cert.X509CRL |
getCRL()
Returns the certificate revoke list to use for certificate authentication
certificates listed here will not be allowed to login, even when they are signed against the correct CA
|
boolean |
isCertAuthEnabled()
Returns if certificate authentication is enabled and should be used by the database, if not otherwise configured there
|
AuthenticationSession |
login(java.security.cert.X509Certificate cert)
Called to verify a login that uses a certificate as credential.
|
boolean isCertAuthEnabled()
AuthenticationSession login(java.security.cert.X509Certificate cert) throws AuthenticationException
cert - The certificateAuthenticationException - If the login cannot be verifiedjava.security.cert.X509CRL getCRL()
throws AuthenticationException
AuthenticationExceptionjava.security.cert.X509Certificate getCA()
throws AuthenticationException
AuthenticationException