Package com.floragunn.searchguard.sgconf
Class ConfigModelV6
- java.lang.Object
-
- com.floragunn.searchguard.sgconf.ConfigModel
-
- com.floragunn.searchguard.sgconf.ConfigModelV6
-
public class ConfigModelV6 extends ConfigModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigModelV6.IndexPatternstatic classConfigModelV6.SgRolestatic classConfigModelV6.SgRolesstatic classConfigModelV6.Tenantstatic classConfigModelV6.TypePerm-
Nested classes/interfaces inherited from class com.floragunn.searchguard.sgconf.ConfigModel
ConfigModel.ActionGroupResolver
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.logging.log4j.Loggerlog
-
Constructor Summary
Constructors Constructor Description ConfigModelV6(SgDynamicConfiguration<RoleV6> roles, SgDynamicConfiguration<ActionGroupsV6> actiongroups, SgDynamicConfiguration<RoleMappingsV6> rolesmapping, DynamicConfigModel dcm, org.elasticsearch.common.settings.Settings esSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigModel.ActionGroupResolvergetActionGroupResolver()Set<String>getAllConfiguredTenantNames()List<ClientBlockRegistry<inet.ipaddr.IPAddress>>getBlockedNetmasks()List<ClientBlockRegistry<String>>getBlockedUsers()List<ClientBlockRegistry<InetAddress>>getBlockIpAddresses()ConfigModelV6.SgRolesgetSgRoles()Set<String>mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Map<String,Boolean>mapTenants(User user, Set<String> roles)-
Methods inherited from class com.floragunn.searchguard.sgconf.ConfigModel
mapTenantPermissions
-
-
-
-
Constructor Detail
-
ConfigModelV6
public ConfigModelV6(SgDynamicConfiguration<RoleV6> roles, SgDynamicConfiguration<ActionGroupsV6> actiongroups, SgDynamicConfiguration<RoleMappingsV6> rolesmapping, DynamicConfigModel dcm, org.elasticsearch.common.settings.Settings esSettings)
-
-
Method Detail
-
getAllConfiguredTenantNames
public Set<String> getAllConfiguredTenantNames()
- Specified by:
getAllConfiguredTenantNamesin classConfigModel
-
getSgRoles
public ConfigModelV6.SgRoles getSgRoles()
- Specified by:
getSgRolesin classConfigModel
-
getActionGroupResolver
public ConfigModel.ActionGroupResolver getActionGroupResolver()
- Specified by:
getActionGroupResolverin classConfigModel
-
getBlockIpAddresses
public List<ClientBlockRegistry<InetAddress>> getBlockIpAddresses()
- Specified by:
getBlockIpAddressesin classConfigModel
-
getBlockedUsers
public List<ClientBlockRegistry<String>> getBlockedUsers()
- Specified by:
getBlockedUsersin classConfigModel
-
getBlockedNetmasks
public List<ClientBlockRegistry<inet.ipaddr.IPAddress>> getBlockedNetmasks()
- Specified by:
getBlockedNetmasksin classConfigModel
-
mapTenants
public Map<String,Boolean> mapTenants(User user, Set<String> roles)
- Specified by:
mapTenantsin classConfigModel
-
mapSgRoles
public Set<String> mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)
- Specified by:
mapSgRolesin classConfigModel
-
-