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 Object implements org.apache.shiro.authc.credential.CredentialsMatcher
Based on work: Copyright Paul Merlin 2011 (Apache Licence v2.0)
  • Constructor Details

    • AbstractX509CredentialsMatcher

      public AbstractX509CredentialsMatcher()
  • Method Details

    • doCredentialsMatch

      public final boolean doCredentialsMatch(org.apache.shiro.authc.AuthenticationToken token, org.apache.shiro.authc.AuthenticationInfo info)
      Specified by:
      doCredentialsMatch in interface org.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 String toString(X500Principal dn)