- All Implemented Interfaces:
Principal
public class JwtClaimsSetPrincipal
extends Object
implements Principal
A dedicated kind of principal, backed by a static set of claims coming from JWT token.
Because token as a structure is variable most likely you will need to extend this class in order to provide necessary
logic related to token extraction.
Principal is created after validation of token, so you can assume (till some degree) it is a form of proved identity
which you later can use to verify access rights by appropriate security implementation.
- Author:
- Ćukasz Dywicki