public interface JWTRoleParser extends SubjectRoleParser
| Modifier and Type | Method and Description |
|---|---|
Set<Principal> |
parseRolesFromToken(Principal principal,
Subject subject,
JwtToken token)
Return the set of User/Principal roles from the token.
|
parseRolesFromSubjectSet<Principal> parseRolesFromToken(Principal principal, Subject subject, JwtToken token)
principal - the Principal associated with the tokensubject - the JAAS Subject associated with a successful validation of the tokentoken - The JWTTokenApache CXF