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.jwt.JwtToken token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
com.appslandia.common.jwt.JwtToken |
getToken() |
int |
getUserId() |
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 com.appslandia.common.jwt.JwtToken getToken()
Copyright © 2021. All rights reserved.