Class UserProvider
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<User>
-
- org.cilogon.oauth2.servlet.storage.user.UserProvider
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.IdentifiableProvider<User>
,Serializable
,javax.inject.Provider<User>
- Direct Known Subclasses:
OA2CILogonStoreLoader.CILU2Provider
public class UserProvider extends edu.uiuc.ncsa.security.core.util.IdentifiableProviderImpl<User>
Created by Jeff Gaynor
on 4/5/12 at 12:23 PM- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SerialStrings
serialStrings
-
Constructor Summary
Constructors Constructor Description UserProvider(UserIdentifierProvider idProvider, SerialStrings serialStrings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
get(boolean newIdentifier)
This will make a new user object.edu.uiuc.ncsa.security.core.Identifier
newIdentifier()
-
-
-
Field Detail
-
serialStrings
protected SerialStrings serialStrings
-
-
Constructor Detail
-
UserProvider
public UserProvider(UserIdentifierProvider idProvider, SerialStrings serialStrings)
-
-
Method Detail
-
get
public User get(boolean newIdentifier)
This will make a new user object. If the argument is true, a new identifier will be made. If not, the ideantifier will be null (e.g., ig you are populating the user object).- Parameters:
newIdentifier
-- Returns:
-
newIdentifier
public edu.uiuc.ncsa.security.core.Identifier newIdentifier()
-
-