Class DelegationToken
- java.lang.Object
-
- org.apache.kafka.common.security.token.delegation.DelegationToken
-
@Evolving public class DelegationToken extends java.lang.Object
A class representing a delegation token.
-
-
Constructor Summary
Constructors Constructor Description DelegationToken(TokenInformation tokenInformation, byte[] hmac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
byte[]
hmac()
java.lang.String
hmacAsBase64String()
TokenInformation
tokenInfo()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DelegationToken
public DelegationToken(TokenInformation tokenInformation, byte[] hmac)
-
-
Method Detail
-
tokenInfo
public TokenInformation tokenInfo()
-
hmac
public byte[] hmac()
-
hmacAsBase64String
public java.lang.String hmacAsBase64String()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-