@InterfaceAudience.Private @InterfaceStability.Unstable public class TokenPBImpl extends Token
| Constructor and Description |
|---|
TokenPBImpl() |
TokenPBImpl(SecurityProtos.TokenProto proto) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
convertFromProtoFormat(com.google.protobuf.ByteString byteString) |
protected com.google.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
boolean |
equals(Object other) |
ByteBuffer |
getIdentifier() |
String |
getKind() |
ByteBuffer |
getPassword() |
SecurityProtos.TokenProto |
getProto() |
String |
getService() |
int |
hashCode() |
void |
setIdentifier(ByteBuffer identifier) |
void |
setKind(String kind) |
void |
setPassword(ByteBuffer password) |
void |
setService(String service) |
String |
toString() |
newInstancepublic TokenPBImpl()
public TokenPBImpl(SecurityProtos.TokenProto proto)
public SecurityProtos.TokenProto getProto()
protected final ByteBuffer convertFromProtoFormat(com.google.protobuf.ByteString byteString)
protected final com.google.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public ByteBuffer getIdentifier()
getIdentifier in class Tokenpublic void setIdentifier(ByteBuffer identifier)
setIdentifier in class Tokenpublic ByteBuffer getPassword()
getPassword in class Tokenpublic void setPassword(ByteBuffer password)
setPassword in class Tokenpublic String getService()
getService in class Tokenpublic void setService(String service)
setService in class TokenCopyright © 2018 CERN. All Rights Reserved.