Simple RESTful service using Spring 5/Spring Boot 2.1.2 with JPA-based back end using H2 in memory database.
Sample project based on Spring Boot 2.1.2. Exposes a simple service for managing resource (contacts). Uses Hibernate for persistence & H2 as database.
Both authentication filters (form-based & Digest) are independent. You must enable or disable it by commenting out/in annotations on SecurityConfigDigestAuth or SecurityConfigBasicAuth based on your needs.
Topics:
- RESTful Service
- Spring Boot
- Maven
- H2
- Mockito
- JSONAssert
- Mock MVC framework
- Basic Authentication
- Digest Authentication