Package | Description |
---|---|
org.wildfly.security.auth.server | |
org.wildfly.security.authz |
Elytron's Authorization API
|
Modifier and Type | Method and Description |
---|---|
RoleMapper |
SecurityDomain.RealmBuilder.getRoleMapper()
Get the role mapper.
|
Modifier and Type | Method and Description |
---|---|
Map<String,RoleMapper> |
SecurityDomain.Builder.getCategoryRoleMappers()
Get the category role mapper map.
|
Modifier and Type | Method and Description |
---|---|
SecurityDomain.Builder |
SecurityDomain.Builder.setRoleMapper(RoleMapper roleMapper)
Set the role mapper for this security domain, which will be used to perform the last mapping before
returning the roles associated with an identity obtained from this security domain.
|
SecurityDomain.RealmBuilder |
SecurityDomain.RealmBuilder.setRoleMapper(RoleMapper roleMapper)
Set the role mapper.
|
SecurityIdentity |
SecurityIdentity.withRoleMapper(String category,
RoleMapper roleMapper)
Attempt to create a new identity which replaces a role mapper category on the current identity.
|
Modifier and Type | Method and Description |
---|---|
void |
SecurityDomain.Builder.setCategoryRoleMappers(Map<String,RoleMapper> categoryRoleMappers)
Set the category role mapper map.
|
Modifier and Type | Field and Description |
---|---|
static RoleMapper |
RoleMapper.IDENTITY_ROLE_MAPPER
A default implementation that does nothing but return the given roles.
|
Modifier and Type | Method and Description |
---|---|
static RoleMapper |
RoleMapper.aggregate(RoleMapper... mappers)
Create an aggregate role mapper.
|
static RoleMapper |
RoleMapper.aggregate(RoleMapper mapper1,
RoleMapper mapper2)
Create an aggregate role mapper.
|
default RoleMapper |
RoleMapper.and(RoleMapper other)
Create a role mapper which is the intersection (logical "and") of the results of this and the given role mapper.
|
static RoleMapper |
RoleMapper.constant(Roles roles)
Create a role mapper that always returns the same set of roles regardless of the input.
|
default RoleMapper |
RoleMapper.minus(RoleMapper other)
Create a role mapper which contains all the roles mapped by this mapper, minus the roles mapped by the given
role mapper.
|
default RoleMapper |
RoleMapper.or(RoleMapper other)
Create a role mapper which is the union (logical "or") of the results of this and the given role mapper.
|
default RoleMapper |
RoleMapper.xor(RoleMapper other)
Create a role mapper which is the symmetric difference (or disjunction, or logical "xor") of the results of this
and the given role mapper.
|
Modifier and Type | Method and Description |
---|---|
static RoleMapper |
RoleMapper.aggregate(RoleMapper... mappers)
Create an aggregate role mapper.
|
static RoleMapper |
RoleMapper.aggregate(RoleMapper mapper1,
RoleMapper mapper2)
Create an aggregate role mapper.
|
default RoleMapper |
RoleMapper.and(RoleMapper other)
Create a role mapper which is the intersection (logical "and") of the results of this and the given role mapper.
|
default RoleMapper |
RoleMapper.minus(RoleMapper other)
Create a role mapper which contains all the roles mapped by this mapper, minus the roles mapped by the given
role mapper.
|
default RoleMapper |
RoleMapper.or(RoleMapper other)
Create a role mapper which is the union (logical "or") of the results of this and the given role mapper.
|
default RoleMapper |
RoleMapper.xor(RoleMapper other)
Create a role mapper which is the symmetric difference (or disjunction, or logical "xor") of the results of this
and the given role mapper.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.