Chapter 6
REST Authentication and Authorization

Section 2
REST with Basic Authentication
Show how to set up and configure the Basic Authentication a mechanism within the Spring Security namespace configuration; write live integration tests against the deployed API to verify both the forbidden and valid accesses. - Configure the session management; enable Basic Authentication for the REST Service - Show how to implement the authentication service to go directly to the DAO layer and bypass the Service layer, which is now secured - Write live tests against the secured REST API and show the correct responses, 401 or 200 OK, when the credentials are correctly sent