public interface UserSessionSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
checkCurrentUserSession() |
java.util.UUID |
currentOrSubstitutedUserId() |
java.util.Locale |
getLocale() |
UserSession |
getUserSession() |
static final java.lang.String NAME
boolean checkCurrentUserSession()
getUserSession()
is safeUserSession getUserSession()
java.lang.RuntimeException
- 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