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, getToken
public Set<String> getVerifiedRoles()
getVerifiedRoles
in interface VerifiedUserRoles
public boolean equals(Object o)
equals
in interface Principal
equals
in class JWTPrincipal
public int hashCode()
hashCode
in interface Principal
hashCode
in class JWTPrincipal
public String toString()
toString
in interface Principal
toString
in class JWTPrincipal
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.