Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Software Architecture with Spring 5.0

You're reading from   Software Architecture with Spring 5.0 Design and architect highly scalable, robust, and high-performance Java applications

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781788992992
Length 372 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
 Enríquez Enríquez
Author Profile Icon Enríquez
Enríquez
 Salazar Salazar
Author Profile Icon Salazar
Salazar
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Software Architecture Today FREE CHAPTER 2. Software Architecture Dimensions 3. Spring Projects 4. Client-Server Architectures 5. Model-View-Controller Architectures 6. Event-Driven Architectures 7. Pipe-and-Filter Architectures 8. Microservices 9. Serverless Architectures 10. Containerizing Your Applications 11. DevOps and Release Management 12. Monitoring 13. Security 14. High Performance 1. Other Books You May Enjoy Index

Authentication and authorization as a service


We will be using Auth0 as the provider of a platform for authentication and authorization as a service. We will create an example of this to secure our application; you don't have to be a security guru to achieve this.The following screenshot was borrowed from the Auth0 getting started guide:

Auth0 authentication and identity validation process

After we plug in or connect to Auth0, this will be the authentication and authorization server used to verify their identity and send the required information back to the application each time a user tries to authenticate.

Note

We are not limited to Java; Auth0 provides several SDKs and APIs for different technologies and languages.

The steps to create an example of authentication and authorization as a service using Auth0 are as follows:

  1. Create your free developer account in Auth0 at https://auth0.com/.
  2. Log in to the Auth0 portal and create an application:

Auth0 create application

  1. Give a name to the application...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images