Class AbstractRegexpAuthenticator

  • Direct Known Subclasses:
    IpRegexpAuthenticator, X509Authenticator

    public abstract class AbstractRegexpAuthenticator
    extends org.pac4j.core.profile.definition.ProfileDefinitionAware
    Abstract authenticator based on regular expressions.
    Since:
    3.3.0
    Author:
    Jerome Leleu
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger logger  
      protected java.util.regex.Pattern pattern  
      protected java.lang.String regexpPattern  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setRegexpPattern​(java.lang.String regexpPattern)  
      java.lang.String toString()  
      • Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinitionAware

        defaultProfileDefinition, getProfileDefinition, setProfileDefinition
      • Methods inherited from class org.pac4j.core.util.InitializableObject

        afterInternalInit, beforeInternalInit, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, internalInit, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
      • regexpPattern

        protected java.lang.String regexpPattern
      • pattern

        protected java.util.regex.Pattern pattern
    • Constructor Detail

      • AbstractRegexpAuthenticator

        public AbstractRegexpAuthenticator()
    • Method Detail

      • setRegexpPattern

        public void setRegexpPattern​(java.lang.String regexpPattern)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object