Class AbstractBuilder

java.lang.Object
org.pac4j.config.builder.AbstractBuilder
All Implemented Interfaces:
PropertiesConstants
Direct Known Subclasses:
CasClientBuilder, DbAuthenticatorBuilder, DirectClientBuilder, IndirectHttpClientBuilder, LdapAuthenticatorBuilder, OAuthBuilder, OidcClientBuilder, PropertiesConfigFactory, RestAuthenticatorBuilder, Saml2ClientBuilder, ShiroEncoderBuilder, SpringEncoderBuilder

public abstract class AbstractBuilder extends Object implements PropertiesConstants
An abstract builder of the configuration.
Since:
2.0.0
Author:
Jerome Leleu
  • Field Details

    • MAX_NUM_CLIENTS

      protected static final int MAX_NUM_CLIENTS
      See Also:
    • MAX_NUM_AUTHENTICATORS

      protected static final int MAX_NUM_AUTHENTICATORS
      See Also:
    • MAX_NUM_CUSTOM_PROPERTIES

      protected static final int MAX_NUM_CUSTOM_PROPERTIES
      See Also:
    • MAX_NUM_ENCODERS

      protected static final int MAX_NUM_ENCODERS
      See Also:
    • properties

      protected final Map<String,String> properties
    • authenticators

      protected final Map<String,org.pac4j.core.credentials.authenticator.Authenticator> authenticators
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder(Map<String,String> properties)
    • AbstractBuilder

      protected AbstractBuilder(Map<String,String> properties, Map<String,org.pac4j.core.credentials.authenticator.Authenticator> authenticators)
  • Method Details

    • concat

      protected String concat(String value, int num)
    • getProperty

      protected String getProperty(String name)
    • getProperty

      protected String getProperty(String name, int num)
    • containsProperty

      protected boolean containsProperty(String name, int num)
    • getPropertyAsBoolean

      protected boolean getPropertyAsBoolean(String name, int num)
    • getPropertyAsInteger

      protected int getPropertyAsInteger(String name, int num)
    • getPropertyAsLong

      protected long getPropertyAsLong(String name, int num)
    • getAuthenticator

      protected org.pac4j.core.credentials.authenticator.Authenticator getAuthenticator(String name)