Package | Description |
---|---|
org.wildfly.security.authz |
Elytron's Authorization API
|
Modifier and Type | Method and Description |
---|---|
SimplePermissionMapper.Builder |
SimplePermissionMapper.Builder.addMapping(Set<String> principals,
Set<String> roles,
PermissionVerifier permissionVerifier)
Add a new mapping to a
PermissionVerifier , if the PermissionMappable being mapped has a principal name that is in the Set of principals or of any of the assigned roles are matched this mapping will be a match. |
SimplePermissionMapper.Builder |
SimplePermissionMapper.Builder.addMatchAllPrincipals(PermissionVerifier permissionVerifier)
Add a new mapping to a
PermissionVerifier , if the PermissionMappable being mapped has a principal or any of the assigned roles are matched this mapping will be a match. |
static SimplePermissionMapper.Builder |
SimplePermissionMapper.builder()
Construct a new
SimplePermissionMapper.Builder for creating the PermissionMapper . |
SimplePermissionMapper.Builder |
SimplePermissionMapper.Builder.setMappingMode(SimplePermissionMapper.MappingMode mappingMode)
Set the mapping mode that the newly created
PermissionMapper should use. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.