Uses of Interface
org.wildfly.security.authz.Roles
-
Packages that use Roles Package Description org.wildfly.security.auth.server Server side of authentication provided by Elytron.org.wildfly.security.authz Elytron's Authorization API -
-
Uses of Roles in org.wildfly.security.auth.server
Methods in org.wildfly.security.auth.server that return Roles Modifier and Type Method 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. -
Uses of Roles in org.wildfly.security.authz
Fields in org.wildfly.security.authz declared as Roles Modifier and Type Field Description static Roles
Roles. NONE
The empty roles collection.Methods in org.wildfly.security.authz that return Roles Modifier and Type Method 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.Roles
SourceAddressRoleDecoder. decodeRoles(AuthorizationIdentity authorizationIdentity)
Decode the role set using the source IP address runtime attribute 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
RegexRoleMapper. 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.Methods in org.wildfly.security.authz with parameters of type Roles Modifier and Type Method 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 aPermissionVerifier
with all the permissions associated with the given information.PermissionVerifier
SimplePermissionMapper. mapPermissions(PermissionMappable permissionMappable, Roles roles)
Roles
MappedRoleMapper. mapRoles(Roles rolesToMap)
Roles
RegexRoleMapper. 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.static Set<String>
Roles. toSet(Roles roles)
Returns a set (immutable) containing roles from a roles collection.default Roles
Roles. xor(Roles other)
Get the disjunction of this collection and another.Constructors in org.wildfly.security.authz with parameters of type Roles Constructor Description SourceAddressRoleDecoder(String sourceAddress, Roles roles)
Construct a new instance.SourceAddressRoleDecoder(Pattern sourceAddressPattern, Roles roles)
Construct a new instance.
-