Class PropertiesConfigFactory

  • All Implemented Interfaces:
    PropertiesConstants, org.pac4j.core.config.ConfigFactory

    public class PropertiesConfigFactory
    extends AbstractBuilder
    implements org.pac4j.core.config.ConfigFactory
    Build a configuration from properties.
    Since:
    1.8.1
    Author:
    Jerome Leleu
    • Constructor Detail

      • PropertiesConfigFactory

        public PropertiesConfigFactory​(java.util.Map<java.lang.String,​java.lang.String> properties)
      • PropertiesConfigFactory

        public PropertiesConfigFactory​(java.lang.String callbackUrl,
                                       java.util.Map<java.lang.String,​java.lang.String> properties)
    • Method Detail

      • build

        public org.pac4j.core.config.Config build​(java.lang.Object... parameters)
        Specified by:
        build in interface org.pac4j.core.config.ConfigFactory
      • hasShiroEncoder

        protected boolean hasShiroEncoder()
      • hasSpringEncoder

        protected boolean hasSpringEncoder()
      • hasLdapAuthenticator

        protected boolean hasLdapAuthenticator()
      • hasDbAuthenticator

        protected boolean hasDbAuthenticator()
      • hasOAuthClients

        protected boolean hasOAuthClients()
      • hasSaml2Clients

        protected boolean hasSaml2Clients()
      • hasCasClients

        protected boolean hasCasClients()
      • hasOidcClients

        protected boolean hasOidcClients()
      • hasHttpAuthenticatorsOrClients

        protected boolean hasHttpAuthenticatorsOrClients()