Modifier and Type | Class and Description |
---|---|
static class |
SecurityConfig.AuthenticationConfig |
static class |
SecurityConfig.CacheConfig |
static class |
SecurityConfig.RealmConfig |
static class |
SecurityConfig.SessionConfig |
static class |
SecurityConfig.SubjectConfig |
static class |
SecurityConfig.UserConfig |
Constructor and Description |
---|
SecurityConfig() |
Modifier and Type | Method and Description |
---|---|
SecurityConfig |
addRealm(SecurityConfig.RealmConfig realmConfig) |
SecurityConfig |
addRole(String name,
Set<String> sourceRoles) |
SecurityConfig |
addRolePermissions(String role,
Set<String> permissions) |
SecurityConfig |
addUser(String name,
SecurityConfig.UserConfig userConfig) |
SecurityConfig.AuthenticationConfig |
authentication() |
SecurityConfig.CacheConfig |
cache() |
Map<String,Set<String>> |
getPermissions() |
Optional<SecurityConfig.RealmConfig> |
getRealm(String name) |
List<SecurityConfig.RealmConfig> |
getRealms() |
Map<String,Set<String>> |
getRoles() |
Map<String,SecurityConfig.UserConfig> |
getUsers() |
SecurityConfig.SessionConfig |
sessions() |
SecurityConfig.SubjectConfig |
subject() |
public SecurityConfig.SessionConfig sessions()
public SecurityConfig.CacheConfig cache()
public SecurityConfig.AuthenticationConfig authentication()
public SecurityConfig.SubjectConfig subject()
public List<SecurityConfig.RealmConfig> getRealms()
public SecurityConfig addRealm(SecurityConfig.RealmConfig realmConfig)
public Optional<SecurityConfig.RealmConfig> getRealm(String name)
public Map<String,SecurityConfig.UserConfig> getUsers()
public SecurityConfig addUser(String name, SecurityConfig.UserConfig userConfig)
public SecurityConfig addRole(String name, Set<String> sourceRoles)
public SecurityConfig addRolePermissions(String role, Set<String> permissions)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.