org.apache.hadoop.yarn.api.records
Interface Token

All Known Subinterfaces:
ClientToken, ContainerToken, DelegationToken

@InterfaceAudience.Public
@InterfaceStability.Stable
public interface Token

Token is the security entity used by the framework to verify authenticity of any resource.


Method Summary
 ByteBuffer getIdentifier()
          Get the token identifier.
 String getKind()
          Get the token kind.
 ByteBuffer getPassword()
          Get the token password
 String getService()
          Get the service to which the token is allocated.
 

Method Detail

getIdentifier

@InterfaceAudience.Public
@InterfaceStability.Stable
ByteBuffer getIdentifier()
Get the token identifier.

Returns:
token identifier

getPassword

@InterfaceAudience.Public
@InterfaceStability.Stable
ByteBuffer getPassword()
Get the token password

Returns:
token password

getKind

@InterfaceAudience.Public
@InterfaceStability.Stable
String getKind()
Get the token kind.

Returns:
token kind

getService

@InterfaceAudience.Public
@InterfaceStability.Stable
String getService()
Get the service to which the token is allocated.

Returns:
service to which the token is allocated


Copyright © 2013 Apache Software Foundation. All Rights Reserved.