@InterfaceAudience.Public @InterfaceStability.Stable public abstract class Token extends Object
Token is the security entity used by the framework
 to verify authenticity of any resource.
| Constructor and Description | 
|---|
| Token() | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract ByteBuffer | getIdentifier()Get the token identifier. | 
| abstract String | getKind()Get the token kind. | 
| abstract ByteBuffer | getPassword()Get the token password | 
| abstract String | getService()Get the service to which the token is allocated. | 
| static Token | newInstance(byte[] identifier,
           String kind,
           byte[] password,
           String service) | 
| abstract void | setIdentifier(ByteBuffer identifier) | 
| abstract void | setKind(String kind) | 
| abstract void | setPassword(ByteBuffer password) | 
| abstract void | setService(String service) | 
@InterfaceAudience.Private @InterfaceStability.Unstable public static Token newInstance(byte[] identifier, String kind, byte[] password, String service)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ByteBuffer getIdentifier()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setIdentifier(ByteBuffer identifier)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ByteBuffer getPassword()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setPassword(ByteBuffer password)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getKind()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setKind(String kind)
@InterfaceAudience.Public @InterfaceStability.Stable public abstract String getService()
@InterfaceAudience.Private @InterfaceStability.Unstable public abstract void setService(String service)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.