Interface JwtRoleCollector<C>


public interface JwtRoleCollector<C>
Collects the roles for the JWT claims.
Author:
Daniel Sagenschneider
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtains the JWT claims.
    void
    Indicates failure in retrieving the roles.
    void
    Specifies the roles.
  • Method Details

    • getClaims

      C getClaims()
      Obtains the JWT claims.
      Returns:
      JWT claims.
    • setRoles

      void setRoles(Collection<String> roles)
      Specifies the roles.
      Parameters:
      roles - Roles
    • setFailure

      void setFailure(Throwable cause)
      Indicates failure in retrieving the roles.
      Parameters:
      cause - Cause of failure.