问题描述
- Spring中的拦截请求问题。?
-
<!-- ROLE_SUPERVISOR --> <intercept-url pattern="/portal/*" access="IS_AUTHENTICATED_ANONYMOUSLY" /> <!-- ROLE_003001,ROLE_003002,ROLE_003003,ROLE_004,ROLE_002003,ROLE_001 --> <form-login login-page="/login.jsp" default-target-url='/index.html' always-use-default-target='true' /> <logout /> <session-management> <concurrency-control max-sessions="1" error-if-maximum-exceeded="false" /> <!-- false:2次登录,把前一个SESSION销毁;true:2次登录,登录失败 --> </session-management> <session-management invalid-session-url="/sessionTimeout.jsp" /> <remember-me /> <http-basic /> </http>
时间: 2024-09-21 17:45:29