Package com.iizix.user
Class AuthenticatedUserProvider
java.lang.Object
com.iizix.user.AuthenticatedUserProvider
Provider interface to retrieve an authenticated user for a client or application session.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static IAuthenticatedUserProviderGets the singleton instance for the authenticated user provider.- static void- setInstance- (IAuthenticatedUserProvider provider) Assigns the instance of the authenticated user provider.
- Constructor Details- AuthenticatedUserProviderpublic AuthenticatedUserProvider()
 
- Method Details- setInstanceAssigns the instance of the authenticated user provider. This method should not be called, it is intended to be used by the IIZI framework.- Parameters:
- provider- The provider.
- Throws:
- NullPointerException- If the- provideris- null.
- IllegalStateException- If the provider already is set.
 
- getInstanceGets the singleton instance for the authenticated user provider.- Returns:
- The authenticated user provider instance.