Package com.iizix.user
Class AuthenticatedUserProvider
- java.lang.Object
- com.iizix.user.AuthenticatedUserProvider
 
- public class AuthenticatedUserProvider extends java.lang.ObjectProvider interface to retrieve an authenticated user for a client or application session.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - AuthenticatedUserProvider()
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static IAuthenticatedUserProvider- getInstance()Gets the singleton instance for the authenticated user provider.- static void- setInstance(IAuthenticatedUserProvider provider)Assigns the instance of the authenticated user provider.
 
- Method Detail- setInstance- public static void setInstance(IAuthenticatedUserProvider provider) Assigns 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:
- java.lang.NullPointerException- If the- provideris- null.
- java.lang.IllegalStateException- If the provider already is set.
 
 - getInstance- public static IAuthenticatedUserProvider getInstance() Gets the singleton instance for the authenticated user provider.- Returns:
- The authenticated user provider instance.