Class EsToken

java.lang.Object
org.elasticsearch.hadoop.security.EsToken

public class EsToken extends Object
Stores token authentication information for an Elasticsearch user.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getId

      public String getId()
    • getApiKey

      public String getApiKey()
    • getExpirationTime

      public long getExpirationTime()
    • getClusterName

      public String getClusterName()
    • getMajorVersion

      public org.elasticsearch.hadoop.util.EsMajorVersion getMajorVersion()
    • writeOut

      public void writeOut(DataOutput dataOutput) throws IOException
      Throws:
      IOException
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object