-
-
Notifications
You must be signed in to change notification settings - Fork 234
Security
Anantha Raju C edited this page Sep 28, 2020
·
1 revision
Security Variation | Tag |
---|---|
Role Based Authentication (In-memory Users) | https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template/tags |
Permission Based Authentication (In-memory Users) | https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template/tags |
Spring Method-Security with @PreAuthorize (In-memory Users) | https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template/tags |
Database Authentication Authorization (In-memory Users) | https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template/tags |
Role, Permission based User Authentication via MySQL | https://github.com/Spring-Boot-Framework/Spring-Boot-Application-Template/tags |
Refer to the ApplicationSecurityConfig
class in io.github.anantharajuc.sbtest.security
.
Username | Password | Role | Permission | Resource |
---|---|---|---|---|
johndoe |
password |
PERSON |
/api/v1/person |
|
AdminUser |
password |
ADMIN |
PERSON_CREATE,PERSON_READ,PERSON_UPDATE,PERSON_DELETE |
/management/api/v1/person |
AdminTraineeUser |
password |
ADMINTRAINEE |
PERSON_READ |
/management/api/v1/person |