public abstract class UserPrincipal
extends javax.security.enterprise.CallerPrincipal
| Constructor and Description |
|---|
UserPrincipal(String userName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
int |
getIdentityProvider() |
<T> T |
getObject(String key) |
long |
getReauthAtUtc() |
protected static long |
getReauthAtUtc(boolean reauthentication) |
<T> T |
getRequiredObject(String key) |
long |
getUserId() |
boolean |
isRememberMe() |
public UserPrincipal(String userName)
public long getUserId()
public String getDisplayName()
public boolean isRememberMe()
public long getReauthAtUtc()
public int getIdentityProvider()
public <T> T getObject(String key)
public <T> T getRequiredObject(String key) throws NullPointerException
NullPointerExceptionprotected static long getReauthAtUtc(boolean reauthentication)
Copyright © 2018. All rights reserved.