Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netbuffer/spring-security-demo
spring-security test project ,shiro,permission framework,java security framework
https://github.com/netbuffer/spring-security-demo
filter interceptor jwt restful-api server shiro spring spring-boot spring-security tomcat web
Last synced: 15 days ago
JSON representation
spring-security test project ,shiro,permission framework,java security framework
- Host: GitHub
- URL: https://github.com/netbuffer/spring-security-demo
- Owner: netbuffer
- Created: 2021-09-09T13:58:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-24T03:19:57.000Z (over 1 year ago)
- Last Synced: 2024-11-06T19:52:40.673Z (2 months ago)
- Topics: filter, interceptor, jwt, restful-api, server, shiro, spring, spring-boot, spring-security, tomcat, web
- Language: Java
- Homepage:
- Size: 86.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-security-demo
![](https://img.shields.io/static/v1?label=sppring-boot&message=2.5.4&color=blue)
![](https://img.shields.io/static/v1?label=sppring-security&message=2.5.4&color=green)
![](https://img.shields.io/static/v1?label=fastjson&message=1.2.78&color=blue)
> 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 is `user`
* [test login process](http://localhost:18000/app)
![http request filter-chain](https://docs.spring.io/spring-security/site/docs/current/reference/html5/images/servlet/architecture/multi-securityfilterchain.png)
* [SecurityContextHolder](https://docs.spring.io/spring-security/site/docs/current/reference/html5/images/servlet/authentication/architecture/securitycontextholder.png)
![img.png](https://docs.spring.io/spring-security/site/docs/current/reference/html5/images/servlet/authentication/architecture/securitycontextholder.png)
```
@Secure
@RolesAllowed
@PreAuthorize
@PostAuthorize
@PreFilter
@PostFilter
```
* [Security Filters](https://docs.spring.io/spring-security/site/docs/current/reference/html5/#servlet-security-filters)
* [abstractprocessingfilter](https://docs.spring.io/spring-security/site/docs/current/reference/html5/#servlet-authentication-abstractprocessingfilter)
* ![AbstractAuthenticationProcessingFilter](https://docs.spring.io/spring-security/site/docs/current/reference/html5/images/servlet/authentication/architecture/abstractauthenticationprocessingfilter.png)### articles
* [Spring Boot整合Spring Security最简单的用法](https://www.toutiao.com/i7013356585607086625)