spring-security-demo
spring-security test project
- https://github.com/netbuffer/spring-security-demo
- https://gitee.com/netbuffer/spring-security-demo
- https://docs.spring.io/spring-security/site/docs/current/reference/html5/
help
- look for the default password generated from the console:
Using generated security password:
default generated user isuser
- test login process
- SecurityContextHolder
@Secure
@RolesAllowed
@PreAuthorize
@PostAuthorize
@PreFilter
@PostFilter