Secure RESTful Web Services by implementing Authentication and Authorization
An example of how to implement RESTful Web Services authentication and authorization to secure them. It uses HTTP basic authentication and defines role-based access for HTTP Request methods. User credentials are stored in the database and Spring Security is used to implement the security.
Refer RESTful Web Services Authentication and Authorization for detailed article on securing Restful Web Services.
- Spring Boot 1.4.1.RELEASE
- Spring Security 4
- Spring Data JPA
- Database – PostgreSQL
- JDK 8