HBASE-20047 AuthenticationTokenIdentifier should provide a toString
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
f976b3a8af
commit
2a8e62f8ee
|
@ -186,4 +186,11 @@ public class AuthenticationTokenIdentifier extends TokenIdentifier {
|
|||
public int hashCode() {
|
||||
return (int)sequenceNumber;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "(username=" + username + ", keyId="
|
||||
+ keyId + ", issueDate=" + issueDate
|
||||
+ ", expirationDate=" + expirationDate + ", sequenceNumber=" + sequenceNumber + ")";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue