Interface SubjectRoleParser

    • Method Detail

      • parseRolesFromSubject

        Set<Principal> parseRolesFromSubject​(Principal principal,
                                             Subject subject)
        Return the set of User/Principal roles from the Subject.
        Parameters:
        principal - the optional Principal
        subject - the JAAS Subject
        Returns:
        the set of User/Principal roles from the Subject.