Package org.onehippo.repository.security
Interface SessionUser
-
- All Superinterfaces:
Serializable
,User
- All Known Subinterfaces:
SessionDelegateUser
public interface SessionUser extends User
A SessionUser provides the resolved User Role names for a logged in user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getUserRoles()
Get the resolved user role names assigned for this logged in user-
Methods inherited from interface org.onehippo.repository.security.User
getEmail, getFirstName, getId, getLastLogin, getLastName, getMemberships, getProperty, getPropertyNames, isActive, isExternal, isSystemUser
-
-
-
-
Method Detail
-
getUserRoles
Set<String> getUserRoles()
Get the resolved user role names assigned for this logged in userThe user role names are resolved (which may drop non-existing user role names), and includes possible implied user roles names.
- Specified by:
getUserRoles
in interfaceUser
- Returns:
- the resolved user role names assigned to the logged in user
- See Also:
HippoSession.getUser()
-
-