public class JWTPrincipalWithUserRoles extends JWTPrincipal implements VerifiedUserRoles
| Constructor and Description |
|---|
JWTPrincipalWithUserRoles(String username,
String token,
Map<String,Object> claims,
Set<String> roles) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getVerifiedRoles()
Gets the list of roles
|
int |
hashCode() |
String |
toString() |
getClaims, getName, getTokenpublic Set<String> getVerifiedRoles()
getVerifiedRoles in interface VerifiedUserRolespublic boolean equals(Object o)
equals in interface Principalequals in class JWTPrincipalpublic int hashCode()
hashCode in interface PrincipalhashCode in class JWTPrincipalpublic String toString()
toString in interface PrincipaltoString in class JWTPrincipalCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.