Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)