Class RequestedPrivileges
- java.lang.Object
-
- com.floragunn.searchguard.authtoken.RequestedPrivileges
-
- All Implemented Interfaces:
Serializable,org.elasticsearch.common.io.stream.Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
public class RequestedPrivileges extends Object implements org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.xcontent.ToXContentObject, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequestedPrivileges.ExcludedIndexPermissionsstatic classRequestedPrivileges.IndexPermissionsstatic classRequestedPrivileges.TenantPermissions
-
Constructor Summary
Constructors Constructor Description RequestedPrivileges(org.elasticsearch.common.io.stream.StreamInput in)
-
Method Summary
-
-
-
Constructor Detail
-
RequestedPrivileges
public RequestedPrivileges(org.elasticsearch.common.io.stream.StreamInput in) throws IOException- Throws:
IOException
-
-
Method Detail
-
getIndexPermissions
public List<RequestedPrivileges.IndexPermissions> getIndexPermissions()
-
getTenantPermissions
public List<RequestedPrivileges.TenantPermissions> getTenantPermissions()
-
getExcludedIndexPermissions
public List<RequestedPrivileges.ExcludedIndexPermissions> getExcludedIndexPermissions()
-
excludeClusterPermissions
public RequestedPrivileges excludeClusterPermissions(List<String> excludeAddionalClusterPermissions)
-
excludeIndexPermissions
public RequestedPrivileges excludeIndexPermissions(List<RequestedPrivileges.ExcludedIndexPermissions> excludeAddionalIndexPermissions)
-
isTotalWildcard
public boolean isTotalWildcard()
-
writeTo
public void writeTo(org.elasticsearch.common.io.stream.StreamOutput out) throws IOException- Specified by:
writeToin interfaceorg.elasticsearch.common.io.stream.Writeable- Throws:
IOException
-
parse
public static RequestedPrivileges parse(com.fasterxml.jackson.databind.JsonNode jsonNode) throws com.floragunn.searchsupport.config.validation.ConfigValidationException
- Throws:
com.floragunn.searchsupport.config.validation.ConfigValidationException
-
totalWildcard
public static RequestedPrivileges totalWildcard()
-
parseYaml
public static RequestedPrivileges parseYaml(String yaml) throws com.floragunn.searchsupport.config.validation.ConfigValidationException
- Throws:
com.floragunn.searchsupport.config.validation.ConfigValidationException
-
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
-
-