Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Microservices with Java 9

You're reading from   Mastering Microservices with Java 9 Build domain-driven microservice-based applications with Spring, Spring Cloud, and Angular

Arrow left icon
Product type Paperback
Published in Dec 2017
Publisher Packt
ISBN-13 9781787281448
Length 316 pages
Edition 2nd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sourabh Sharma Sourabh Sharma
Author Profile Icon Sourabh Sharma
Sourabh Sharma
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. A Solution Approach 2. Setting Up the Development Environment FREE CHAPTER 3. Domain-Driven Design 4. Implementing a Microservice 5. Deployment and Testing 6. Reactive Microservices 7. Securing Microservices 8. Consuming Services Using a Microservice Web Application 9. Best Practices and Common Principles 10. Troubleshooting Guide 11. Migrating a Monolithic Application to Microservice-Based Application

Securing Microservices

As you know, microservices are the components that we deploy in on-premises or cloud infrastructures. Microservices may offer APIs or web applications. Our sample application, OTRS, offers APIs. This chapter will focus on how to secure these APIs using Spring Security and Spring OAuth2. We'll also focus on OAuth 2.0 fundamentals, using OAuth 2.0 to secure the OTRS APIs. For more understanding on securing REST APIs, you can refer to the RESTful Java Web Services Security, Packt Publishing book. You can also refer to the Spring Security, Packt Publishing video for more information on Spring Security. We'll also learn about cross-origin request site filters and cross-site scripting blockers.

In this chapter, we will cover the following topics:

  • Enabling Secure Socket Layer (SSL)
  • Authentication and authorization
  • OAuth 2.0
...
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 AU $24.99/month. Cancel anytime