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
Creates a token using an existing string representation of the token.
-
Method Summary
boolean
Returns if a token from the server has been set.
Returns the string representation of the token.
-
Constructor Details
-
Token
public Token()
Creates a token.
-
Token
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
Returns the string representation of the token.
- Overrides:
toString in class Object
- Returns:
- the string representation of the token.