public class UserPrincipalWrapper extends UserPrincipal
| Constructor and Description |
|---|
UserPrincipalWrapper(UserPrincipal principal,
AuthCredential credential) |
UserPrincipalWrapper(UserPrincipal principal,
String module,
boolean rememberMe,
boolean reauthentication) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
int |
getIdProvider() |
String |
getModule() |
String |
getName() |
<T> T |
getObject(String key) |
UserPrincipal |
getPrincipal() |
long |
getReauthAt() |
<T> T |
getRequiredObject(String key) |
int |
getUserId() |
boolean |
isRememberMe() |
public UserPrincipalWrapper(UserPrincipal principal, AuthCredential credential)
public UserPrincipalWrapper(UserPrincipal principal, String module, boolean rememberMe, boolean reauthentication)
public UserPrincipal getPrincipal()
public int getUserId()
getUserId in class UserPrincipalpublic String getModule()
getModule in class UserPrincipalpublic boolean isRememberMe()
isRememberMe in class UserPrincipalpublic long getReauthAt()
getReauthAt in class UserPrincipalpublic String getName()
public String getDisplayName()
getDisplayName in class UserPrincipalpublic int getIdProvider()
getIdProvider in class UserPrincipalpublic <T> T getObject(String key)
getObject in class UserPrincipalpublic <T> T getRequiredObject(String key) throws IllegalStateException
getRequiredObject in class UserPrincipalIllegalStateExceptionCopyright © 2020. All rights reserved.