Java org.apache.hadoop.security.authentication.server AuthenticationToken fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.security.authentication.server AuthenticationToken fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.security.authentication.server AuthenticationToken.

The text is from its open source code.

Field

AuthenticationTokenANONYMOUS
Constant that identifies an anonymous request.

Constructor

Method

longgetExpires()
Returns the expiration time of the token.
StringgetName()
Returns the principal name (this method name comes from the JDK Principal interface).
StringgetType()
Returns the authentication mechanism of the token.
StringgetUserName()
Returns the user name.
booleanisExpired()
Returns true if the token has expired.
AuthenticationTokenparse(String tokenStr)
Parses a string into an authentication token.
voidsetExpires(long expires)
Sets the expiration of the token.
StringtoString()
Returns the string representation of the token.