Commit 53ef580c by chongli

用户登出功能配置

parent 1b6dbb31
Showing with 1 additions and 5 deletions
......@@ -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" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment