Class AuthenticationServiceNameProviderFactory


  • public class AuthenticationServiceNameProviderFactory
    extends Object
    A factory to access AuthenticationServiceNameProvider instance at runtime. This factory uses the configuration key com.sun.identity.sm.authservicename.provider to identify an implementation of AuthenticationServiceNameProvider interface at runtime.
    • Field Detail

      • CONFIG_AUTH_SERVICE_NAME_PROVIDER

        public static final String CONFIG_AUTH_SERVICE_NAME_PROVIDER
        The configuration key used for identifying the class that implements the AuthenticationServiceNameProvider interface.
        See Also:
        Constant Field Values
      • DEFAULT_AUTH_SERVICE_NAME_PROVIDER

        public static final String DEFAULT_AUTH_SERVICE_NAME_PROVIDER
        The default implementation to be used in case no value is specified in the configuration.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AuthenticationServiceNameProviderFactory

        public AuthenticationServiceNameProviderFactory()
    • Method Detail

      • getProvider

        public static AuthenticationServiceNameProvider getProvider()
        Provides access to the configured implementation of AuthenticationServiceNameProvider interface. An instance of this implementation is constructed during static initialization of this factory and is kept as a singleton throughout its lifecycle.
        Returns:
        the configured implementation of AuthenticationServiceNameProvider.