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
Fields in org.wildfly.security.auth.server with type parameters of type Roles Modifier and Type Field Description private Function<SecurityIdentity,Roles>
SecurityIdentity. defaultRoles
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.(package private) Roles
SecurityDomain. mapRoles(SecurityIdentity securityIdentity)
Constructor parameters in org.wildfly.security.auth.server with type arguments of type Roles Constructor Description SecurityIdentity(SecurityIdentity old, Function<SecurityIdentity,Roles> defaultRoles)
-
Uses of Roles in org.wildfly.security.authz
Classes in org.wildfly.security.authz that implement Roles Modifier and Type Class Description (package private) class
AddPrefixRoles
(package private) class
AddSuffixRoles
(package private) class
DifferenceRoles
(package private) class
DisjunctionRoles
(package private) class
IntersectionRoles
(package private) class
MappedRoles
(package private) class
OneRole
(package private) class
RegexRoles
A regex roles.(package private) class
UnionRoles
Fields in org.wildfly.security.authz declared as Roles Modifier and Type Field Description private Roles
AddPrefixRoles. delegate
private Roles
AddSuffixRoles. delegate
private Roles
MappedRoles. delegate
private Roles
RegexRoles. delegate
private Roles
DifferenceRoles. left
private Roles
DisjunctionRoles. left
private Roles
IntersectionRoles. left
private Roles
UnionRoles. left
static Roles
Roles. NONE
The empty roles collection.private Roles
DifferenceRoles. right
private Roles
DisjunctionRoles. right
private Roles
IntersectionRoles. right
private Roles
UnionRoles. right
private Roles
SourceAddressRoleDecoder. roles
Methods in org.wildfly.security.authz that return Roles Modifier and Type Method Description Roles
OneRole. addPrefix(String prefix)
default Roles
Roles. addPrefix(String prefix)
Get a roles collection which adds a prefix to all role names.Roles
OneRole. addSuffix(String suffix)
default Roles
Roles. addSuffix(String suffix)
Get a roles collection which adds a suffix to all role names.Roles
OneRole. and(Roles other)
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.Roles
OneRole. minus(Roles other)
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.Roles
OneRole. or(Roles other)
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 Roles
OneRole. and(Roles other)
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.Roles
OneRole. minus(Roles other)
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.Roles
OneRole. or(Roles other)
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 AddPrefixRoles(Roles delegate, String prefix)
AddSuffixRoles(Roles delegate, String suffix)
DifferenceRoles(Roles left, Roles right)
DisjunctionRoles(Roles left, Roles right)
IntersectionRoles(Roles left, Roles right)
MappedRoles(Roles delegate, Map<String,Set<String>> reverseRoleMap)
RegexRoles(Roles delegate, Pattern pattern, String replace, boolean keepNonMapped, boolean replaceAll)
SourceAddressRoleDecoder(String sourceAddress, Roles roles)
Construct a new instance.SourceAddressRoleDecoder(Pattern sourceAddressPattern, Roles roles)
Construct a new instance.UnionRoles(Roles left, Roles right)
-