Package org.onehippo.repository.security
Interface SessionDelegateUser
-
- All Superinterfaces:
Serializable
,SessionUser
,User
public interface SessionDelegateUser extends SessionUser
SessionUser wrapping another SessionUser for SessionDelegation, having a "," concatenatedUser.getId()
and a mergedUser.getMemberships()
.The underlying (delegate)
SessionUser
can be retrieved throughgetDelegateUser()
.A set of the original individual user ids can be retrieved through
getIds()
.Both
User.isSystemUser()
andUser.isActive()
will always return false because this does not represent an actual repository user.All other
User
(not theSessionUser
methods are overridden to always return null.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionUser
getDelegateUser()
Set<String>
getIds()
-
Methods inherited from interface org.onehippo.repository.security.SessionUser
getUserRoles
-
Methods inherited from interface org.onehippo.repository.security.User
getEmail, getFirstName, getId, getLastLogin, getLastName, getMemberships, getProperty, getPropertyNames, isActive, isExternal, isSystemUser
-
-
-
-
Method Detail
-
getDelegateUser
SessionUser getDelegateUser()
-
-