Package org.eclipse.microprofile.jwt
@Version("1.1")
package org.eclipse.microprofile.jwt
Interoperable JWT RBAC for Microprofile
Overview
This package contains the primary interfaces and support classes for the JSON Web Tokens(JWT) for role based access control(RBAC) of MicroProfile microservice endpoints. The primary class is the JsonWebToken interface that defines the view of the current authenticated user and associated JWT claims. It is available for injection as well as the user principal available from the container security API. The supporting classes in this package include:- Claim: a qualifier annotation used to mark a JWT claim value injection point
- Claims: this is an enum that defines the names and types of the JWT claims standardized through RFC7519, OIDC, etc.
- ClaimValue: this is a proxyable/injectable interface that represents the value of a single JWT claim.
-
ClassDescriptionAnnotation used to signify an injection point for a
ClaimValue
from aJsonWebToken
Annotation literal forClaim
This enum represents the standardized claims that the MP-JWT specification allows for in terms of interoperability.ClaimValue<T>A representation of a claim in aJsonWebToken
A read-only interface for the the claims required by Eclipse MicroProfile conforming tokens.