Package com.sun.identity.sm
Class AuthenticationServiceNameProviderFactory
- java.lang.Object
-
- com.sun.identity.sm.AuthenticationServiceNameProviderFactory
-
public class AuthenticationServiceNameProviderFactory extends Object
A factory to accessAuthenticationServiceNameProviderinstance at runtime. This factory uses the configuration keycom.sun.identity.sm.authservicename.providerto identify an implementation ofAuthenticationServiceNameProviderinterface at runtime.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_AUTH_SERVICE_NAME_PROVIDERThe configuration key used for identifying the class that implements theAuthenticationServiceNameProviderinterface.static StringDEFAULT_AUTH_SERVICE_NAME_PROVIDERThe default implementation to be used in case no value is specified in the configuration.
-
Constructor Summary
Constructors Constructor Description AuthenticationServiceNameProviderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationServiceNameProvidergetProvider()Provides access to the configured implementation ofAuthenticationServiceNameProviderinterface.
-
-
-
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 theAuthenticationServiceNameProviderinterface.- 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
-
-
Method Detail
-
getProvider
public static AuthenticationServiceNameProvider getProvider()
Provides access to the configured implementation ofAuthenticationServiceNameProviderinterface. 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.
-
-