HBASE-20047 AuthenticationTokenIdentifier should provide a toString
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
6060d3ba56
commit
62fc7fd3ea
|
@ -187,4 +187,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