O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The high-level description of the MP-JWT API

The MP-JWT project introduces the following API interfaces and classes under the org.eclipse.microprofile.jwt package namespace:

  • JsonWebToken: This is a java.security.Principal interface extension that makes the set of required claims available via get-style accessors, along with general access to any claim in the JWT.
  • Claims: This is an enumeration utility class that encapsulates all of the standard JWT-related claims along with a description and the required Java type for the claim as returned from the JsonWebToken#getClaim(String) method.
  • Claim: This is a qualifier annotation used to signify an injection point for ClaimValue.
  • ClaimValue<T>: This is a java.security.Principal interface extension ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required