authority based authentication system
Roles
- ADMIN - read, write, execute, manage
- MANAGER - read , write , manage
- USER - read , write
- Guest - read
-
when you run this code first time the schema will be created So for second time comment the code responsible for creating schema available at /auth-spring-security-2/src/main/java/com/on14june/Application.java
-
You can also create custom authorities and roles without any fear by using role repository and authority repository