Package com.floragunn.searchguard.sgconf
Class ConfigModelV7.Tenant
- java.lang.Object
-
- com.floragunn.searchguard.sgconf.ConfigModelV7.Tenant
-
- All Implemented Interfaces:
org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
- Enclosing class:
- ConfigModelV7
public static class ConfigModelV7.Tenant extends Object implements org.elasticsearch.xcontent.ToXContentObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetEvaluatedTenantPattern(User user)Set<String>getPermissions()StringgetTenantPattern()inthashCode()booleanisReadWrite()StringtoString()org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params)
-
-
-
Method Detail
-
getTenantPattern
public String getTenantPattern()
-
getEvaluatedTenantPattern
public String getEvaluatedTenantPattern(User user) throws StringInterpolationException
- Throws:
StringInterpolationException
-
isReadWrite
public boolean isReadWrite()
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException- Specified by:
toXContentin interfaceorg.elasticsearch.xcontent.ToXContent- Throws:
IOException
-
-