Package | Description |
---|---|
org.wildfly.security.auth.server |
Server side of authentication provided by Elytron.
|
org.wildfly.security.authz |
Elytron's Authorization API
|
Modifier and Type | Method and Description |
---|---|
Roles |
SecurityIdentity.getRoles()
Get the roles associated with this identity.
|
Roles |
SecurityIdentity.getRoles(String category)
Get the mapped roles associated with this identity.
|
Roles |
SecurityIdentity.getRoles(String category,
boolean fallbackToDefault)
Get the mapped roles associated with this identity.
|
Modifier and Type | Field and Description |
---|---|
static Roles |
Roles.NONE
The empty roles collection.
|
Modifier and Type | Method and Description |
---|---|
default Roles |
Roles.addPrefix(String prefix)
Get a roles collection which adds a prefix to all role names.
|
default Roles |
Roles.addSuffix(String suffix)
Get a roles collection which adds a suffix to all role names.
|
default Roles |
Roles.and(Roles other)
Get the intersection of this collection and another.
|
Roles |
RoleDecoder.decodeRoles(AuthorizationIdentity authorizationIdentity)
Decode the role set from the given authorization identity.
|
static Roles |
Roles.fromSet(Set<String> set)
Construct a new roles collection from a set.
|
Roles |
MappedRoleMapper.mapRoles(Roles rolesToMap) |
Roles |
RoleMapper.mapRoles(Roles rolesToMap)
Returns a set of strings representing the roles mapped from the given roles in their raw form.
|
default Roles |
Roles.minus(Roles other)
Get a roles collection which consists of the roles in this collection minus the roles in the other collection.
|
static Roles |
Roles.of(String role)
Construct a role set consisting of a single role.
|
default Roles |
Roles.or(Roles other)
Get the union of this collection and another.
|
default Roles |
Roles.xor(Roles other)
Get the disjunction of this collection and another.
|
Modifier and Type | Method and Description |
---|---|
default Roles |
Roles.and(Roles other)
Get the intersection of this collection and another.
|
static RoleMapper |
RoleMapper.constant(Roles roles)
Create a role mapper that always returns the same set of roles regardless of the input.
|
PermissionVerifier |
PermissionMapper.mapPermissions(PermissionMappable permissionMappable,
Roles roles)
Returns a
PermissionVerifier with all the permissions associated with the given information. |
PermissionVerifier |
SimplePermissionMapper.mapPermissions(PermissionMappable permissionMappable,
Roles roles) |
Roles |
MappedRoleMapper.mapRoles(Roles rolesToMap) |
Roles |
RoleMapper.mapRoles(Roles rolesToMap)
Returns a set of strings representing the roles mapped from the given roles in their raw form.
|
default Roles |
Roles.minus(Roles other)
Get a roles collection which consists of the roles in this collection minus the roles in the other collection.
|
default Roles |
Roles.or(Roles other)
Get the union of this collection and another.
|
default Roles |
Roles.xor(Roles other)
Get the disjunction of this collection and another.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.