Interface VerifiedUserRoles


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

    Modifier and Type
    Method
    Description
    Gets a set of roles that have been verified to belong to a user
  • Method Details

    • getVerifiedRoles

      Set<String> getVerifiedRoles()
      Gets a set of roles that have been verified to belong to a user