This is a simple authentication and authorization service, support some functions, such as generate token, create roles, map user and role etc.
- JDK v8
- Maven
- create user
- delete user
- create role
- delete role
- add role to user
- authenticate
- invalidate
- check role
- all roles of a user
- ...(welcome to PR or ISSUE)
see details at interface AuthService in project.
- Junit5, to complement unit tests
- surefire, to support maven run unit tests
If you are using IntelliJ, you can right lick test package, run "All tests" with coverage to see the tests condition and details. Or you can use maven to run tests.
mvn test