public class X509CredentialsAuthenticationHandler extends AbstractPreAndPostProcessingAuthenticationHandler
| Constructor and Description |
|---|
X509CredentialsAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected HandlerResult |
doAuthentication(Credential credential) |
void |
setCheckKeyUsage(boolean checkKeyUsage) |
void |
setMaxPathLength(int maxPathLength) |
void |
setMaxPathLengthAllowUnspecified(boolean allowed) |
void |
setRequireKeyUsage(boolean requireKeyUsage) |
void |
setRevocationChecker(RevocationChecker checker)
Sets the component responsible for evaluating certificate revocation status for client
certificates presented to handler.
|
void |
setSubjectDnPattern(String subjectDnPattern) |
void |
setTrustedIssuerDnPattern(String trustedIssuerDnPattern) |
boolean |
supports(Credential credential) |
authenticate, postAuthenticate, preAuthenticategetName, setNamepublic X509CredentialsAuthenticationHandler()
public boolean supports(Credential credential)
protected final HandlerResult doAuthentication(Credential credential) throws GeneralSecurityException, PreventedException
doAuthentication in class AbstractPreAndPostProcessingAuthenticationHandlerGeneralSecurityExceptionPreventedExceptionpublic void setTrustedIssuerDnPattern(String trustedIssuerDnPattern)
public void setMaxPathLength(int maxPathLength)
maxPathLength - The maxPathLength to set.public void setMaxPathLengthAllowUnspecified(boolean allowed)
allowed - Allow CA certs to have unlimited intermediate certs (default=false).public void setCheckKeyUsage(boolean checkKeyUsage)
checkKeyUsage - The checkKeyUsage to set.public void setRequireKeyUsage(boolean requireKeyUsage)
requireKeyUsage - The requireKeyUsage to set.public void setSubjectDnPattern(String subjectDnPattern)
public void setRevocationChecker(RevocationChecker checker)
checker - Revocation checker component.Copyright © 2004-2015 Jasig. All Rights Reserved.