public interface AuthorizationConfiguration
Modifier and Type | Interface and Description |
---|---|
static class |
AuthorizationConfiguration.Implementation
A simple immutable
AuthorizationConfiguration default implementation. |
Modifier and Type | Method and Description |
---|---|
static AuthorizationConfiguration |
New(Map<String,? extends Set<String>> resourceResources,
Map<String,? extends Set<String>> roleRoles,
Map<String,? extends Map<String,Integer>> rolePermissions,
Map<String,? extends Set<String>> subjectRoles)
Creates a new
AuthorizationConfiguration instance from the passed parts. |
Map<String,? extends Set<String>> |
resourceResources()
The child resource names (value) for every valid resource (keys).
|
Map<String,? extends Map<String,Integer>> |
rolePermissions()
The explicitely defined permissions (value) for every valid role (keys).
|
Map<String,? extends Set<String>> |
roleRoles()
The parent role names (value) for every valid role (keys).
|
Map<String,? extends Set<String>> |
subjectRoles()
The role names (value) for every valid subject (keys).
|
Map<String,? extends Set<String>> resourceResources()
Map<String,? extends Set<String>> roleRoles()
roleRoles()
Map<String,? extends Map<String,Integer>> rolePermissions()
rolePermissions()
Map<String,? extends Set<String>> subjectRoles()
static AuthorizationConfiguration New(Map<String,? extends Set<String>> resourceResources, Map<String,? extends Set<String>> roleRoles, Map<String,? extends Map<String,Integer>> rolePermissions, Map<String,? extends Set<String>> subjectRoles)
AuthorizationConfiguration
instance from the passed parts.resourceResources
- see resourceResources()
roleRoles
- see roleRoles()
rolePermissions
- see rolePermissions()
subjectRoles
- see subjectRoles()
AuthorizationConfiguration
instance