public class JwtPrincipal extends UserPrincipal
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DISPLAY_NAME |
static String |
KEY_USER_ID |
static String |
KEY_USER_NAME |
static String |
KEY_USER_ROLES |
| Constructor and Description |
|---|
JwtPrincipal(com.appslandia.common.jose.JwtToken token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
<T> T |
getObject(String key) |
<T> T |
getRequiredObject(String key) |
int |
getUserId() |
getIdProvider, getModule, getReauthAt, isRememberMepublic static final String KEY_USER_ID
public static final String KEY_USER_NAME
public static final String KEY_DISPLAY_NAME
public static final String KEY_USER_ROLES
public int getUserId()
getUserId in class UserPrincipalpublic String getDisplayName()
getDisplayName in class UserPrincipalpublic <T> T getObject(String key)
getObject in class UserPrincipalpublic <T> T getRequiredObject(String key) throws IllegalStateException
getRequiredObject in class UserPrincipalIllegalStateExceptionCopyright © 2019. All rights reserved.