Package org.wildfly.security.authz
Class MappedRoleMapper.Builder
java.lang.Object
org.wildfly.security.authz.MappedRoleMapper.Builder
- Enclosing class:
- MappedRoleMapper
A builder for map backed role mappers.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and return the resultingMappedRoleMapper.setRoleMap(Map<String, Set<String>> roleMap) Set theMapto use for mapping roles
-
Method Details
-
build
Build and return the resultingMappedRoleMapper.- Returns:
- the resulting
MappedRoleMapper
-
setRoleMap
Set theMapto use for mapping roles- Parameters:
roleMap- the role map- Returns:
thisbuilder to allow chaining.
-