Example usage for Java org.apache.hadoop.security.token Token fields, constructors, methods, implement or subclass
The text is from its open source code.
Token() Default constructor. | |
Token(byte[] identifier, byte[] password, Text kind, Text service) Construct a token from the components. | |
Token(T id, SecretManager Construct a token given a token identifier and a secret manager for the type of the token identifier. |
void | cancel(Configuration conf) Cancel this delegation token. |
void | decodeFromUrlString(String newValue) Decode the given url safe string into this token. |
T | decodeIdentifier() Get the token identifier object, or null if it could not be constructed (because the class could not be loaded, for example). |
String | encodeToUrlString() Encode this token as a url safe string. |
byte[] | getIdentifier() Get the token identifier's byte representation. |
Text | getKind() Get the token kind. |
byte[] | getPassword() Get the token password/secret. |
Text | getService() Get the service on which the token is supposed to be used. |
boolean | isManaged() Is this token managed so that it can be renewed or cancelled? |
void | readFields(DataInput in) |
long | renew(Configuration conf) Renew this delegation token. |
void | setKind(Text newKind) Set the token kind. |
void | setService(Text newService) Set the service on which the token is supposed to be used. |
String | toString() |
void | write(DataOutput out) |