Package com.floragunn.searchguard.sgconf
Class ConfigModel
- java.lang.Object
-
- com.floragunn.searchguard.sgconf.ConfigModel
-
- Direct Known Subclasses:
ConfigModelV6,ConfigModelV7
public abstract class ConfigModel extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigModel.ActionGroupResolver
-
Constructor Summary
Constructors Constructor Description ConfigModel()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ConfigModel.ActionGroupResolvergetActionGroupResolver()abstract Set<String>getAllConfiguredTenantNames()abstract List<ClientBlockRegistry<inet.ipaddr.IPAddress>>getBlockedNetmasks()abstract List<ClientBlockRegistry<String>>getBlockedUsers()abstract List<ClientBlockRegistry<InetAddress>>getBlockIpAddresses()abstract SgRolesgetSgRoles()abstract Set<String>mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)Map<String,Set<String>>mapTenantPermissions(User user, Set<String> roles)abstract Map<String,Boolean>mapTenants(User user, Set<String> roles)
-
-
-
Method Detail
-
mapTenantPermissions
public Map<String,Set<String>> mapTenantPermissions(User user, Set<String> roles)
-
mapSgRoles
public abstract Set<String> mapSgRoles(User user, org.elasticsearch.common.transport.TransportAddress caller)
-
getSgRoles
public abstract SgRoles getSgRoles()
-
getActionGroupResolver
public abstract ConfigModel.ActionGroupResolver getActionGroupResolver()
-
getBlockIpAddresses
public abstract List<ClientBlockRegistry<InetAddress>> getBlockIpAddresses()
-
getBlockedUsers
public abstract List<ClientBlockRegistry<String>> getBlockedUsers()
-
getBlockedNetmasks
public abstract List<ClientBlockRegistry<inet.ipaddr.IPAddress>> getBlockedNetmasks()
-
-