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.CredentialsMatcher
Based 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 boolean
doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)
abstract boolean
doX509CredentialsMatch(X509AuthenticationToken token, X509AuthenticationInfo info)
protected java.lang.String
toString(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:
doCredentialsMatch
in 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)
-
-