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) |
long |
getUserId() |
boolean |
isRememberMe() |
getUserIdAsIntpublic UserPrincipalWrapper(UserPrincipal principal, AuthCredential credential)
public UserPrincipalWrapper(UserPrincipal principal, String module, boolean rememberMe, boolean reauthentication)
public UserPrincipal getPrincipal()
public String getModule()
getModule in class UserPrincipalpublic boolean isRememberMe()
isRememberMe in class UserPrincipalpublic long getReauthAt()
getReauthAt in class UserPrincipalpublic long getUserId()
getUserId 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 NullPointerException
getRequiredObject in class UserPrincipalNullPointerExceptionCopyright © 2019. All rights reserved.