Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
53ef580c
authored
Sep 27, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户登出功能配置
parent
1b6dbb31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
src/main/resources/config/spring-security.xml
src/main/resources/config/spring-security.xml
View file @
53ef580c
...
...
@@ -14,11 +14,7 @@
<http
pattern=
"/login.jsp"
security=
"none"
/>
<http
access-denied-page=
"/you-will-not-want-to-be-here"
>
<form-login
login-page=
"/adminUser/adminLoginGet"
authentication-failure-url=
"/adminUser/adminLoginError"
default-target-url=
"/marketing/campaign/create"
/>
<!--访问/admin.jsp资源的用户必须具有ROLE_ADMIN的权限 -->
<!-- <intercept-url pattern="/admin.jsp" access="ROLE_ADMIN" /> -->
<!--访问/**资源的用户必须具有ROLE_USER的权限 -->
<!-- <intercept-url pattern="/**" access="ROLE_USER" /> -->
<logout
logout-success-url=
"/adminUser/adminLoginGet"
invalidate-session=
"true"
/>
<session-management>
<concurrency-control
max-sessions=
"1"
error-if-maximum-exceeded=
"false"
/>
...
...
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