Package org.apache.solr.security
Interface VerifiedUserRoles
-
- All Known Implementing Classes:
JWTPrincipalWithUserRoles
public interface VerifiedUserRoles
Interface used to pass verified user roles in a Principal object. An Authorization plugin may check for the presence of verified user roles on the Principal and choose to use those roles instead of explicitly configuring roles in config. Such roles may e.g. origin from a signed and validated JWT token.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>
getVerifiedRoles()
Gets a set of roles that have been verified to belong to a user
-