@InterfaceAudience.Public @InterfaceStability.Stable public interface ContainerToken extends DelegationToken
ContainerToken
is the security token used by the framework
to verify authenticity of any Container
.
The ResourceManager
, on container allocation provides a
secure token which is verified by the NodeManager
on
container launch.
Applications do not need to care about ContainerToken
, they
are transparently handled by the framework - the allocated
Container
includes the ContainerToken
.
Modifier and Type | Method and Description |
---|---|
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.
|
@InterfaceAudience.Public @InterfaceStability.Stable ByteBuffer getIdentifier()
getIdentifier
in interface DelegationToken
@InterfaceAudience.Public @InterfaceStability.Stable ByteBuffer getPassword()
getPassword
in interface DelegationToken
@InterfaceAudience.Public @InterfaceStability.Stable String getKind()
getKind
in interface DelegationToken
@InterfaceAudience.Public @InterfaceStability.Stable String getService()
getService
in interface DelegationToken
Copyright © 2014 Apache Software Foundation. All Rights Reserved.