Package | Description |
---|---|
com.edorasware.cloud.core.security | |
com.edorasware.one.identity.group | |
com.edorasware.one.identity.user |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseSecurityListener.checkUserHasRoles(Set<SystemRole> roles) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<SystemRole> |
SystemGroups.getRole(com.edorasware.commons.core.entity.GroupId groupId)
Maps the given group id to a
SystemRole . |
Modifier and Type | Method and Description |
---|---|
com.edorasware.commons.core.entity.GroupId |
SystemGroups.getGroupId(SystemRole systemRole)
Returns the system group id for the given system role.
|
Modifier and Type | Method and Description |
---|---|
static SystemRole |
SystemRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemRole[] |
SystemRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<SystemRole> |
User.getRoles()
Returns the system roles of the user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
User.hasAnyRoleOf(SystemRole role)
Checks if the user has the given role.
|
boolean |
User.hasAnyRoleOf(SystemRole first,
SystemRole second,
SystemRole... more)
Checks if the user has any of the given roles.
|
boolean |
User.hasAnyRoleOf(SystemRole first,
SystemRole second,
SystemRole... more)
Checks if the user has any of the given roles.
|
Modifier and Type | Method and Description |
---|---|
boolean |
User.hasAnyRoleOf(Set<SystemRole> roles)
Checks if the user has any of the given roles.
|
User.Builder |
User.Builder.roles(Set<SystemRole> roles)
Set the optional roles of the user.
|
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.