Interface SubjectRoleParser
- All Known Subinterfaces:
JWTRoleParser,SAMLRoleParser
- All Known Implementing Classes:
DefaultJWTRoleParser,DefaultSAMLRoleParser,DefaultSubjectRoleParser
public interface SubjectRoleParser
This interface defines a way to extract roles from a JAAS Subject
-
Method Summary
Modifier and TypeMethodDescriptionparseRolesFromSubject(Principal principal, Subject subject) Return the set of User/Principal roles from the Subject.
-
Method Details
-
parseRolesFromSubject
Return the set of User/Principal roles from the Subject.- Parameters:
principal- the optional Principalsubject- the JAAS Subject- Returns:
- the set of User/Principal roles from the Subject.
-