Authentication and Authorization using JWT Token and Roles-Based Access Control | Quarkus Tutorial

  Рет қаралды 17,308

Giuseppe Scaramuzzino

Giuseppe Scaramuzzino

Күн бұрын

✅ Authentication and Authorization using JWT Token and Roles-Based Access Control | Quarkus Tutoria | Quarkus Tutorial | QUARKUS | CloudNative | Java
⌚ Timestamps
00:00 Introduction | Quarkus Tutorial
I am Giuseppe Scaramuzzino and you can find me on Twitter @GiuseScara to provide feedback or discuss anything about this video 🙂
GitHub Repository:
github.com/Giu...
What is Quarkus?
Quarkus is a Cloud Native, (Linux) Container First framework for writing Java applications. Quarkus is a MicroProfile implementation that focuses on efficiently running Java applications in containers in general and Kubernetes in particular. The MicroProfile project is aimed at
optimizing Enterprise Java for the microservices architecture.
quarkus.io/
What is JWT?
JSON Web Token is a proposed Internet standard for creating data with optional signature and/or optional encryption whose payload holds JSON that asserts some number of claims. The tokens are signed either using a private secret or a public/private key.
What is RBAC?
Role-Based Access Control (RBAC) attributes permissions to a user based on their business responsibilities. As the most common access control system, it determines access based on your role in the company-ensuring lower-level employees aren’t gaining access to high-level information.
📃 Leave me a comment
------------------------------------------------------------------------------------------------
Follow me here for more content:
🐦 TWITTER ‧ / giusescara
💻 GITHUB ‧ github.com/Giu...
🎬 KZbin: / giuseppescaramuzzino
🌐 LINKEDIN ‧ / giuseppe-scaramuzzino
🎬 Watch related playlists and videos
/ @giuseppescaramuzzino
Quarkus | JWT Token | RBAC | Roles-Based Access Control | Java | Cloud-Native | Authorization | Authentication
#Quarkus #CloudNative #Java

Пікірлер: 35
@zvonimirkorman1147
@zvonimirkorman1147 2 жыл бұрын
Thank you go your guide! Just a friendly advice: At 18:23 you made a cut in the video in which you changed the jwt issuer value from amazon-cart to amazon-jwt and you didn't say anything about it. I spent hours trying to fix it because the program was not working and I got unauthorized post request until I manually went through each line of existing code and comparing it to mine. this field is new to me and I make mistakes easily. For experienced people I know this is not a problem but for new people it would really help a lot if you said it in the video. I hope you understand my point of view. Everything else is spot on!
@abrahammoyo3457
@abrahammoyo3457 2 жыл бұрын
This guy makes hard things easy!!!!! I like the stepwise building of application.
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you
@sametnurel
@sametnurel 2 жыл бұрын
I came here just learn something about jwt with quarkus but this video contains lots of good practices. Thank you very much
@misigarodev
@misigarodev Жыл бұрын
Such a masterpiece. It's good to tell everyone that we don't need keycloak to secure our endpoint. Especially when we want to go live asap without burning a lot of money. Thank you
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino Жыл бұрын
I'm glad you found the information valuable! If you have any other questions or need further clarification on this or any other topic, feel free to ask. Thank you for your kind words!
@nicolasfelipe1
@nicolasfelipe1 2 жыл бұрын
thanks for this awesome tutorial, made it from start to finish.
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you for your message
@joseaugustodossantossilva1149
@joseaugustodossantossilva1149 2 жыл бұрын
love you channel, thanks for exposing so many rich content like this
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Glad you enjoy it!
@usmansheikh8582
@usmansheikh8582 2 жыл бұрын
Very helpful 👌👌✔✔ Thanks for the video 👍👍 Waiting for your next video about "Bcrypt in quarkus" Great content👌👌
@walala14
@walala14 11 ай бұрын
Video utilissimo, grandissimo Giuseppe.
@angelogoncalvesdias4504
@angelogoncalvesdias4504 2 жыл бұрын
Eccezionale Giuseppe!!!
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you so much!
@AnakheAjayi
@AnakheAjayi Жыл бұрын
Brilliant!!! you just gave me a head-start on my new Job
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino Жыл бұрын
That's fantastic to hear! Congratulations on your new job, and I'm glad I could assist. If you have any more questions or need further information as you continue your journey, don't hesitate to ask. Best of luck and success in your new role! 🌟🚀
@AnakheAjayi
@AnakheAjayi Жыл бұрын
@@GiuseppeScaramuzzino Thank you
@AnakheAjayi
@AnakheAjayi Жыл бұрын
Thanks again @GiuseppeScaramuzzino . I need some information on how to verify that the JWT being added to the Bearer is the actual token, from what I have built ones I add the Bearer token to the header it grants access whether correct or not.
@monjurmorshed2854
@monjurmorshed2854 2 жыл бұрын
Nicely and clearly explained, thanks for such clear ideas and demos.
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
GitHub Repository: github.com/GiuseppeScaramuzzino/quarkus-jwt-auth
@Liwgfr1
@Liwgfr1 2 жыл бұрын
Grand merci for the video. Seems interesting to investigate Keycloak integration with external services such as Google, Facebook & etc sign in :)
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Yes, it is in my To Do list video!
@PauloSantos-yu1tn
@PauloSantos-yu1tn Жыл бұрын
Love quarkus
@shubhendushekhar7649
@shubhendushekhar7649 2 жыл бұрын
Very helpful buddy.
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you
@paoloconvertini2103
@paoloconvertini2103 Жыл бұрын
you saved my day! thank you
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino Жыл бұрын
Glad to hear that!
@developersmill1193
@developersmill1193 11 ай бұрын
Hi, great tutorial, thank you! I am actually working on some other case. I am trying authorize some resource using Quarkus. I am passing the access token in headers, but when I am using quarkus-smallrye-jwt library it actually checks/validates the OpenId token/JWT token. The access token that I have is not a JWT token. How to force Quarkus when using @Authenticated annotation to use/validate access tokens. Maybe different lib is needed for that. SO to summ up how to validate access token on backend using quarkus with adnotation @Authenticated ?
@pranoydas9654
@pranoydas9654 2 жыл бұрын
Excellent video
@GiuseppeScaramuzzino
@GiuseppeScaramuzzino 2 жыл бұрын
Thank you very much!
@alaashireef
@alaashireef Жыл бұрын
How can I delete a token after logout?
@imaqtkatt
@imaqtkatt Жыл бұрын
you can't delete a jwt token, just let it expire
@stylishskater92
@stylishskater92 Жыл бұрын
I get an exception that my ssh key is only 2047 bits instead of 2048 and therefore is not accepted the JWT generation. Like wtf?
@dennis.geurts
@dennis.geurts Жыл бұрын
please note that System.currentTimeMillis() + 3600 most probably is not the expireAt that you actually wanted to set, should be more st like System.currentTimeMillis()/1000 + 3600
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 10 МЛН
Стойкость Фёдора поразила всех!
00:58
МИНУС БАЛЛ
Рет қаралды 5 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 26 МЛН
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3 МЛН
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 172 М.
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,2 МЛН
Spring Boot versus Quarkus
5:31
IBM Technology
Рет қаралды 42 М.
Quarkus Panache Active Record vs. Repository Pattern
14:32
Sebastian Daschner
Рет қаралды 6 М.
Secure your Quarkus Applications by Sebastien Blanc
31:15
Devoxx
Рет қаралды 10 М.
Why You Want to Code With Quarkus in 2023
18:21
Sebastian Daschner
Рет қаралды 22 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 10 МЛН