CurrentAuthentication
to get current user, locale and time zone@Deprecated
public interface UserSessionSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkCurrentUserSession()
Deprecated.
|
java.util.UUID |
currentOrSubstitutedUserId()
Deprecated.
|
java.util.Locale |
getLocale()
Deprecated.
|
UserSession |
getUserSession()
Deprecated.
|
static final java.lang.String NAME
boolean checkCurrentUserSession()
getUserSession()
is safeUserSession getUserSession() throws NoUserSessionException
NoUserSessionException
- if there is no active user sessionjava.util.UUID currentOrSubstitutedUserId()
java.lang.RuntimeException
- if there is no active user sessionjava.util.Locale getLocale()
java.lang.RuntimeException
- if there is no active user session