Class CurrentUserContextImpl
java.lang.Object
pro.taskana.common.internal.security.CurrentUserContextImpl
- All Implemented Interfaces:
CurrentUserContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all accessIds of the current user.Returns all groupIds of the current user.Returns the userid of the current user.
-
Constructor Details
-
CurrentUserContextImpl
public CurrentUserContextImpl(boolean shouldUseLowerCaseForAccessIds)
-
-
Method Details
-
getUserid
Description copied from interface:CurrentUserContextReturns the userid of the current user.- Specified by:
getUseridin interfaceCurrentUserContext- Returns:
- String the userid. null if there is no JAAS subject.
-
getGroupIds
Description copied from interface:CurrentUserContextReturns all groupIds of the current user.- Specified by:
getGroupIdsin interfaceCurrentUserContext- Returns:
- list containing all groupIds of the current user. Empty if the current user belongs to no groups or no JAAS Subject set.
-
getAccessIds
Description copied from interface:CurrentUserContextReturns all accessIds of the current user. This combines the userId and all groupIds of the current user.- Specified by:
getAccessIdsin interfaceCurrentUserContext- Returns:
- list containing all accessIds of the current user. Empty if there is no JAAS subject.
-