Class AbstractRegexpAuthenticator

java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.profile.definition.ProfileDefinitionAware
org.pac4j.http.credentials.authenticator.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 final org.slf4j.Logger
     
    protected Pattern
     
    protected String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setRegexpPattern(String regexpPattern)
     
     

    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 Details

    • logger

      protected final org.slf4j.Logger logger
    • regexpPattern

      protected String regexpPattern
    • pattern

      protected Pattern pattern
  • Constructor Details

    • AbstractRegexpAuthenticator

      public AbstractRegexpAuthenticator()
  • Method Details

    • setRegexpPattern

      public void setRegexpPattern(String regexpPattern)
    • toString

      public String toString()
      Overrides:
      toString in class Object