Class AuthTokenPrivilegeBase

  • All Implemented Interfaces:
    Serializable, org.elasticsearch.common.io.stream.Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

    public class AuthTokenPrivilegeBase
    extends Object
    implements org.elasticsearch.xcontent.ToXContentObject, org.elasticsearch.common.io.stream.Writeable, Serializable
    See Also:
    Serialized Form
    • Method Detail

      • getBackendRoles

        public List<String> getBackendRoles()
      • getSearchGuardRoles

        public List<String> getSearchGuardRoles()
      • toXContent

        public org.elasticsearch.xcontent.XContentBuilder toXContent​(org.elasticsearch.xcontent.XContentBuilder builder,
                                                                     org.elasticsearch.xcontent.ToXContent.Params params)
                                                              throws IOException
        Specified by:
        toXContent in interface org.elasticsearch.xcontent.ToXContent
        Throws:
        IOException
      • parse

        public static AuthTokenPrivilegeBase parse​(com.fasterxml.jackson.databind.JsonNode jsonNode)
                                            throws com.floragunn.searchsupport.config.validation.ConfigValidationException
        Throws:
        com.floragunn.searchsupport.config.validation.ConfigValidationException
      • writeTo

        public void writeTo​(org.elasticsearch.common.io.stream.StreamOutput out)
                     throws IOException
        Specified by:
        writeTo in interface org.elasticsearch.common.io.stream.Writeable
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object