Class SSLClientCertAuthentication

  • All Implemented Interfaces:
    AuthManager

    public class SSLClientCertAuthentication
    extends java.lang.Object
    implements AuthManager
    SSL client based authentication.

    Version:
    $Revision$, $Date$
    Author:
    chrisho
    • Field Detail

      • logger

        public static org.slf4j.Logger logger
      • mRequiredCreds

        protected static java.lang.String[] mRequiredCreds
      • mConfigParams

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

      • SSLClientCertAuthentication

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

      • setAuthenticationConfig

        public void setAuthenticationConfig​(AuthenticationConfig authenticationConfig)
      • init

        public void init​(java.lang.String name,
                         java.lang.String implName,
                         AuthManagerConfig config)
                  throws EBaseException
        Description copied from interface: AuthManager
        Initialize this authentication manager.
        Specified by:
        init in interface AuthManager
        Parameters:
        name - The name of this authentication manager instance.
        implName - The name of the authentication manager plugin.
        config - The configuration store for this authentication manager.
        Throws:
        EBaseException - If an initialization error occurred.
      • shutdown

        public void shutdown()
        prepare this authentication manager for shutdown.
        Specified by:
        shutdown in interface AuthManager
      • 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
        Returns:
        String array of configuration parameter names.
      • getRequiredCreds

        public java.lang.String[] getRequiredCreds()
        Returns array of required credentials for this authentication manager.
        Specified by:
        getRequiredCreds in interface AuthManager
        Returns:
        Array of required credentials.
      • getConfigStore

        public AuthManagerConfig getConfigStore()
        Gets the configuration substore used by this authentication manager
        Specified by:
        getConfigStore in interface AuthManager
        Returns:
        configuration store
      • getName

        public java.lang.String getName()
        gets the name of this authentication manager instance
        Specified by:
        getName in interface AuthManager
        Returns:
        the name of this authentication manager.
      • getImplName

        public java.lang.String getImplName()
        gets the plugin name of this authentication manager.
        Specified by:
        getImplName in interface AuthManager
        Returns:
        the name of the authentication manager plugin.