Class SSLClientCertAuthentication

java.lang.Object
com.netscape.cmscore.authentication.SSLClientCertAuthentication
All Implemented Interfaces:
AuthManager

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

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

  • Constructor Details

    • SSLClientCertAuthentication

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

    • getAuthenticationConfig

      public AuthenticationConfig getAuthenticationConfig()
    • setAuthenticationConfig

      public void setAuthenticationConfig(AuthenticationConfig authenticationConfig)
    • init

      public void init(String name, 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.
    • authenticate

      Description copied from interface: AuthManager
      Authenticate the given credentials.
      Specified by:
      authenticate in interface AuthManager
      Parameters:
      authCred - The authentication credentials
      Returns:
      authentication token
      Throws:
      EMissingCredential - If a required credential for this authentication manager is missing.
      EInvalidCredentials - If credentials cannot be authenticated.
      EBaseException - If an internal error occurred.
    • shutdown

      public void shutdown()
      prepare this authentication manager for shutdown.
      Specified by:
      shutdown in interface AuthManager
    • getConfigParams

      public 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 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 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 String getImplName()
      gets the plugin name of this authentication manager.
      Specified by:
      getImplName in interface AuthManager
      Returns:
      the name of the authentication manager plugin.