Top Description Interfaces Annotations Classes Enums
module org.eclipse.microprofile.jwt

Package org.eclipse.microprofile.jwt

Annotations
@Version:2.0

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:

Interface Summary

Modifier and TypeInterface and Description
public interface
ClaimValue<
the expected type of the claim
T
>

A representation of a claim in a JsonWebToken

public interface
JsonWebToken

A read-only interface for the the claims required by Eclipse MicroProfile conforming tokens.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Claim

Annotation used to signify an injection point for a ClaimValue from a JsonWebToken

Class Summary

Modifier and TypeClass and Description
public class
ClaimLiteral

Annotation literal for Claim

Enum Summary

Modifier and TypeEnum and Description
public enum
Claims

This enum represents the standardized claims that the MP-JWT specification allows for in terms of interoperability.