The best practices of integrating Spring Boot with Apache Shiro
- Spring Boot
- Spring Web MVC
- Spring Data JPA ( Hibernate )
- Apache Shiro
- Thymeleaf 3
- Java 8
- Maven
- H2 Database
- Make sure JDK 8 and Maven are installed, and enter the root directory.
- Build:
mvn clean package - Run:
mvn spring-boot:run - Visit the homepage:
http://localhost:8080 - By default, in-memory database is used and data is initialized.
| Username | Password | Role | Permission |
|---|---|---|---|
| admin | 123456 | admin | / , /manager |
| user | 123456 | user | / |