Class AbstractX509CredentialsMatcher
- java.lang.Object
-
- fr.gouv.vitam.common.auth.core.authc.AbstractX509CredentialsMatcher
-
- All Implemented Interfaces:
org.apache.shiro.authc.credential.CredentialsMatcher
- Direct Known Subclasses:
X509CredentialsSha256Matcher
public abstract class AbstractX509CredentialsMatcher extends java.lang.Object implements org.apache.shiro.authc.credential.CredentialsMatcherBased on work: Copyright Paul Merlin 2011 (Apache Licence v2.0)
-
-
Constructor Summary
Constructors Constructor Description AbstractX509CredentialsMatcher()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleandoCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)abstract booleandoX509CredentialsMatch(X509AuthenticationToken token, X509AuthenticationInfo info)protected java.lang.StringtoString(javax.security.auth.x500.X500Principal dn)
-
-
-
Method Detail
-
doCredentialsMatch
public final boolean doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)- Specified by:
doCredentialsMatchin interfaceorg.apache.shiro.authc.credential.CredentialsMatcher
-
doX509CredentialsMatch
public abstract boolean doX509CredentialsMatch(X509AuthenticationToken token, X509AuthenticationInfo info)
- Parameters:
token-info-- Returns:
- is the Info matchs the token given
-
toString
protected final java.lang.String toString(javax.security.auth.x500.X500Principal dn)
-
-