Class AuthenticatedURL.Token

java.lang.Object
org.apache.hadoop.security.authentication.client.AuthenticatedURL.Token
Enclosing class:
AuthenticatedURL

public static class AuthenticatedURL.Token extends Object
Client side authentication token.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a token.
    Token(String tokenStr)
    Creates a token using an existing string representation of the token.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns if a token from the server has been set.
    Returns the string representation of the token.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Token

      public Token()
      Creates a token.
    • Token

      public Token(String tokenStr)
      Creates a token using an existing string representation of the token.
      Parameters:
      tokenStr - string representation of the tokenStr.
  • Method Details

    • isSet

      public boolean isSet()
      Returns if a token from the server has been set.
      Returns:
      if a token from the server has been set.
    • toString

      public String toString()
      Returns the string representation of the token.
      Overrides:
      toString in class Object
      Returns:
      the string representation of the token.