Package org.eclipse.microprofile.jwt


@Version("1.0") 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.