Class UserPwdDirAuthentication

    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • mAttr

        public java.lang.String mAttr
      • mRequiredCreds

        protected java.lang.String[] mRequiredCreds
      • mAttrName

        protected java.lang.String mAttrName
      • mAttrDesc

        protected java.lang.String mAttrDesc
      • mMemberAttrName

        protected java.lang.String mMemberAttrName
      • mMemberAttrValue

        protected java.lang.String mMemberAttrValue
      • mInternalGroup

        protected java.lang.String mInternalGroup
      • mInternalUserRequired

        protected boolean mInternalUserRequired
      • mAttrs

        protected java.lang.String[] mAttrs
      • mConfigParams

        protected static java.lang.String[] mConfigParams
    • Constructor Detail

      • UserPwdDirAuthentication

        public UserPwdDirAuthentication()
        Default constructor, initialization must follow.
    • Method Detail

      • init

        public void init​(java.lang.String name,
                         java.lang.String implName,
                         AuthManagerConfig config)
                  throws EBaseException
        Initializes the UserPwdDirAuthentication auth manager.

        Specified by:
        init in interface AuthManager
        Overrides:
        init in class DirBasedAuthentication
        Parameters:
        name - - The name for this authentication manager instance.
        implName - - The name of the authentication manager plugin.
        config - - The configuration store for this instance.
        Throws:
        EBaseException - If an error occurs during initialization.
      • getConfigParams

        public java.lang.String[] getConfigParams()
        Returns a list of configuration parameter names. The list is passed to the configuration console so instances of this implementation can be configured through the console.
        Specified by:
        getConfigParams in interface AuthManager
        Specified by:
        getConfigParams in class DirBasedAuthentication
        Returns:
        String array of configuration parameter names.
      • getName

        public java.lang.String getName​(java.util.Locale locale)
        Retrieves the localizable name of this policy.
        Specified by:
        getName in interface ProfileAuthenticator
        Parameters:
        locale - end user locale
        Returns:
        localized authenticator name
      • getText

        public java.lang.String getText​(java.util.Locale locale)
        Retrieves the localizable description of this policy.
        Specified by:
        getText in interface ProfileAuthenticator
        Parameters:
        locale - end user locale
        Returns:
        localized authenticator description
      • getValueNames

        public java.util.Enumeration<java.lang.String> getValueNames()
        Retrieves a list of names of the value parameter.
        Specified by:
        getValueNames in interface ProfileAuthenticator
        Returns:
        a list of property names
      • isValueWriteable

        public boolean isValueWriteable​(java.lang.String name)
        Description copied from interface: ProfileAuthenticator
        Checks if the value of the given property should be serializable into the request. Passsword or other security-related value may not be desirable for storage.
        Specified by:
        isValueWriteable in interface ProfileAuthenticator
        Parameters:
        name - property name
        Returns:
        true if the property is not security related
      • getValueDescriptor

        public IDescriptor getValueDescriptor​(java.util.Locale locale,
                                              java.lang.String name)
        Retrieves the descriptor of the given value parameter by name.
        Specified by:
        getValueDescriptor in interface ProfileAuthenticator
        Parameters:
        locale - user locale
        name - property name
        Returns:
        descriptor of the requested property
      • isSSLClientRequired

        public boolean isSSLClientRequired()
        Description copied from interface: ProfileAuthenticator
        Checks if this authenticator requires SSL client authentication.
        Specified by:
        isSSLClientRequired in interface ProfileAuthenticator
        Returns:
        client authentication required or not