Class AuthenticationPrincipalDataRetrieverFactory
- java.lang.Object
-
- com.sun.identity.authentication.service.AuthenticationPrincipalDataRetrieverFactory
-
public class AuthenticationPrincipalDataRetrieverFactory extends Object
A factory to accessAuthenticationPrincipalDataRetrieverinstance. This factory uses the configuration keycom.sun.identity.authentication.principalDataRetrieverto identify the implementation ofAuthenticationPrincipalDataRetrieverinterface; instantiates this class; and returns the instance for retrieving Authentication modulePrincipaldata, to be populated in successful user authentication session.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONFIG_PRINCIPAL_DATA_RETRIEVERThe configuration key used for identifying the implemenation class ofAuthenticationPrincipalDataRetrieverinterface.static StringDEFAULT_PRINCIPAL_DATA_RETRIEVERThe default implementation to be used in case no value is specified in the configuration.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthenticationPrincipalDataRetrievergetPrincipalDataRetriever()Returns an instance ofAuthenticationPrincipalDataRetriever.
-
-
-
Field Detail
-
CONFIG_PRINCIPAL_DATA_RETRIEVER
public static final String CONFIG_PRINCIPAL_DATA_RETRIEVER
The configuration key used for identifying the implemenation class ofAuthenticationPrincipalDataRetrieverinterface.- See Also:
- Constant Field Values
-
DEFAULT_PRINCIPAL_DATA_RETRIEVER
public static final String DEFAULT_PRINCIPAL_DATA_RETRIEVER
The default implementation to be used in case no value is specified in the configuration.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPrincipalDataRetriever
public static AuthenticationPrincipalDataRetriever getPrincipalDataRetriever()
Returns an instance ofAuthenticationPrincipalDataRetriever. This instance is instantiated during static initialization of this factory and is kept as a singleton throughout its lifecycle.- Returns:
- an instance of
AuthenticationPrincipalDataRetriever.
-
-