1
0
mirror of synced 2026-08-05 17:57:15 +00:00

SEC-2783: XML Configuration Defaults Should Match JavaConfig

* j_username -> username
* j_password -> password
* j_spring_security_check -> login
* j_spring_cas_security_check -> login/cas
* j_spring_cas_security_proxyreceptor -> login/cas/proxyreceptor
* j_spring_openid_security_login -> login/openid
* j_spring_security_switch_user -> login/impersonate
* j_spring_security_exit_user -> logout/impersonate
* login_error -> error
* use-expressions=true by default
This commit is contained in:
Rob Winch
2014-12-05 09:52:29 -06:00
parent b56e5edbbd
commit c67ff42b8a
125 changed files with 8122 additions and 395 deletions
@@ -16,7 +16,7 @@
<http pattern="/js/*" security="none" />
<http>
<intercept-url pattern="/**" access="ROLE_USER"/>
<intercept-url pattern="/**" access="authenticated"/>
<logout/>
<openid-login login-page="/openidlogin.jsp" user-service-ref="registeringUserService"
authentication-failure-url="/openidlogin.jsp?login_error=true">
+1 -1
View File
@@ -21,6 +21,6 @@ by the application and will be recognized if you return.
<p>
Your principal object is....: <%= request.getUserPrincipal() %>
</p>
<p><a href="j_spring_security_logout">Logout</a>
<p><a href="logout">Logout</a>
</body>
</html>
@@ -36,7 +36,7 @@
</c:if>
<!-- Simple OpenID Selector -->
<form action="<c:url value='j_spring_openid_security_check'/>" method="post" id="openid_form">
<form action="<c:url value='login/openid'/>" method="post" id="openid_form">
<input type="hidden" name="action" value="verify" />
<fieldset>