Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
a41c71f4
Commit
a41c71f4
authored
Jul 20, 2017
by
naan1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shiro过滤器连改为LinkedHashMap
parent
807cd468
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
+1
-1
src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
+2
-2
No files found.
README.md
View file @
a41c71f4
...
...
@@ -75,7 +75,7 @@ java -jar guns-1.0.0-SNAPSHOT.jar
并打包放入到tomcat中执行
### 注意
建议本项目用jdk1.8,经测试jdk1.7登录页面会导致css丢失
最新版项目最低支持jdk1.7
## 所用框架
### 前端
...
...
src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
View file @
a41c71f4
...
...
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.Bean;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.DependsOn
;
import
java.util.HashMap
;
import
java.util.
Linked
HashMap
;
import
java.util.Map
;
/**
...
...
@@ -145,7 +145,7 @@ public class ShiroConfig {
* user 验证通过或RememberMe登录的都可以
*
*/
Map
<
String
,
String
>
hashMap
=
new
HashMap
<>();
Map
<
String
,
String
>
hashMap
=
new
Linked
HashMap
<>();
hashMap
.
put
(
"/static/**"
,
"anon"
);
hashMap
.
put
(
"/login"
,
"anon"
);
hashMap
.
put
(
"/global/sessionError"
,
"anon"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment