Interface JWTRoleParser

    • Method Detail

      • parseRolesFromToken

        Set<Principal> parseRolesFromToken​(Principal principal,
                                           Subject subject,
                                           JwtToken token)
        Return the set of User/Principal roles from the token.
        Parameters:
        principal - the Principal associated with the token
        subject - the JAAS Subject associated with a successful validation of the token
        token - The JWTToken
        Returns:
        the set of User/Principal roles from the token.