Skip to Content
RESTful Java Web Services - Third Edition
book

RESTful Java Web Services - Third Edition

by Balachandar Bogunuva Mohanram
November 2017
Intermediate to advanced
420 pages
10h 29m
English
Packt Publishing
Content preview from RESTful Java Web Services - Third Edition

JSON Web Token (JWT) overview

JWT is self-contained and secured compared to the session ID, as it is digitally signed. JWT consists of the following building blocks:

  • Header: This contains the token type and hashing algorithm
  • Body: This contains the reserved or custom claims, which serves the user verification details
  • Signature: This contains the cryptographic signature made out of the encoded data and private key

Here is a graphical representation of the JWT:

For more details on JWT, refer to the JWT specifications at https://tools.ietf.org/html/rfc7519.  The RFC 7523 (https://tools.ietf.org/html/rfc7523) specification details the usage ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

RESTful Java Web Services, Second Edition

RESTful Java Web Services, Second Edition

Jobinesh Purushothaman
Java Web Services

Java Web Services

David A Chappell, Tyler Jewell

Publisher Resources

ISBN: 9781788294041Supplemental Content