Reader small image

You're reading from  Full Stack Quarkus and React

Product typeBook
Published inNov 2022
Reading LevelBeginner
PublisherPackt
ISBN-139781800562738
Edition1st Edition
Languages
Right arrow
Author (1)
Marc Nuri San Felix
Marc Nuri San Felix
author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix

Right arrow

Implementing the task manager’s HTTP API security

You should now be familiar with Quarkus security and JWT, and the project should contain the required dependencies. We can now start to implement and configure the task manager application’s security. We’ll start by generating the required key files to sign and verify the tokens.

Generating the key files

The JWT standard provides different methods to verify and trust the authenticity of the tokens and the integrity of the claims it contains. One of the most common approaches, and the one that we’ll be using in our application, is the usage of signed tokens. In our case, we’ll be using a private and public key pair to sign and verify the tokens.

In a distributed application, the authorization service holds the private key and uses it to issue the signed JWTs. The rest of the services have access to the public key and use it to verify the authenticity of these tokens. In our application, we...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Full Stack Quarkus and React
Published in: Nov 2022Publisher: PacktISBN-13: 9781800562738

Author (1)

author image
Marc Nuri San Felix

Marc started his career as a freelance web application developer, creating and maintaining software for the transportation/courier industry. A few years ago Marc started working as an employee for different companies where he has helped build scalable web applications for different industries (retail, procurement software, e-commerce, etc.). He is now a professional Open Source developer focused on the creation and maintenance of developer tools for Java developers and Kubernetes.
Read more about Marc Nuri San Felix