Configuring the security

Let's start coding our Auth microservice. We will start with the authorization and authentication, as we want to protect all resources in our microservices, then we will configure WebSecurityConfigureAdapter. The class should look like this:

package;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.context.annotation.Configuration;import;import;import;import ...

Get Spring 5: End-To-End Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.