Class ContextConfigurationContextSettings

    • Constructor Detail

      • ContextConfigurationContextSettings

        public ContextConfigurationContextSettings​(LdapConfiguration configuration)
        Parameters:
        configuration - The ldap configuration
      • ContextConfigurationContextSettings

        public ContextConfigurationContextSettings​(LdapConfiguration configuration,
                                                   java.lang.String dn,
                                                   java.lang.String password)
        Parameters:
        configuration - The ldap configuration
        dn - The user DN to bind with
        password - The password to bind with
    • Method Detail

      • getPooled

        public boolean getPooled()
        Specified by:
        getPooled in interface ContextSettings
        Returns:
        True if the context should be pooled
      • getFactory

        public java.lang.String getFactory()
        Specified by:
        getFactory in interface ContextSettings
        Returns:
        The factory class
      • getUrl

        public java.lang.String getUrl()
        Specified by:
        getUrl in interface ContextSettings
        Returns:
        The URL of the LDAP server
      • getDn

        public java.lang.String getDn()
        Specified by:
        getDn in interface ContextSettings
        Returns:
        The user DN to bind with
      • getPassword

        public java.lang.String getPassword()
        Specified by:
        getPassword in interface ContextSettings
        Returns:
        The password to bind with