Skip to content

Commit 787b533

Browse files
committed
更新
1 parent fbb2d7e commit 787b533

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ public class JWTFilter extends BasicHttpAuthenticationFilter {
496496
###### 配置Shiro
497497

498498
```java
499+
public class ShiroConfig {
500+
499501
@Bean("securityManager")
500502
public DefaultWebSecurityManager getManager() {
501503
DefaultWebSecurityManager manager = new DefaultWebSecurityManager();
@@ -560,6 +562,7 @@ public class JWTFilter extends BasicHttpAuthenticationFilter {
560562
advisor.setSecurityManager(securityManager);
561563
return advisor;
562564
}
565+
}
563566
```
564567

565568
里面URL规则自己参考文档即可http://shiro.apache.org/web.html

0 commit comments

Comments
 (0)