2 u011178417 u011178417 于 2013.07.08 20:13 提问

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>
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!