COver graphics_MicroProfile JWT

MicroProfile JWT

Martin Stefanko
English

About

JSON Web Tokens (JWT) are a web standard–RFC 7519–but using them with Eclipse MicroProfile may be a mystery. This cheat sheet by Red Hat Senior Software Engineer Martin Stefanko will help you get moving immediately. Topics covered include:

  • Integration with CDI
  • Common Security Annotations
  • Using MicroProfile Config values

Excerpt

Using the MicroProfile Config values
mp.jwt.verify.publickey
the Public Key text itself supplied as a string
mp.jwt.verify.publickey.location
external or internal location of the Public Key to be specified, the value
may be a relative path or a URL
mp.jwt.verify.issuer
the expected value of the iss claim

Related Cheat sheets