Java org.apache.hadoop.security.token Token fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.security.token Token fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.security.token Token.

The text is from its open source code.

Constructor

Token()
Default constructor.
Token(byte[] identifier, byte[] password, Text kind, Text service)
Construct a token from the components.
Token(T id, SecretManager mgr)
Construct a token given a token identifier and a secret manager for the type of the token identifier.

Method

voidcancel(Configuration conf)
Cancel this delegation token.
voiddecodeFromUrlString(String newValue)
Decode the given url safe string into this token.
TdecodeIdentifier()
Get the token identifier object, or null if it could not be constructed (because the class could not be loaded, for example).
StringencodeToUrlString()
Encode this token as a url safe string.
byte[]getIdentifier()
Get the token identifier's byte representation.
TextgetKind()
Get the token kind.
byte[]getPassword()
Get the token password/secret.
TextgetService()
Get the service on which the token is supposed to be used.
booleanisManaged()
Is this token managed so that it can be renewed or cancelled?
voidreadFields(DataInput in)
longrenew(Configuration conf)
Renew this delegation token.
voidsetKind(Text newKind)
Set the token kind.
voidsetService(Text newService)
Set the service on which the token is supposed to be used.
StringtoString()
voidwrite(DataOutput out)