Browse Source

Added error page URL to openid login sample

2.0.x
Luke Taylor 18 years ago
parent
commit
57558de3ec
  1. 6
      samples/openid/src/main/webapp/WEB-INF/applicationContext-security.xml

6
samples/openid/src/main/webapp/WEB-INF/applicationContext-security.xml

@ -15,8 +15,8 @@ @@ -15,8 +15,8 @@
<http>
<intercept-url pattern="/**" access="ROLE_USER"/>
<intercept-url pattern="/openidlogin.jsp*" filters="none"/>
<logout/>
<openid-login login-page="/openidlogin.jsp" />
<logout/>
<openid-login login-page="/openidlogin.jsp" authentication-failure-url="/openidlogin.jsp?login_error=true" />
</http>
<authentication-manager alias="authenticationManager"/>
@ -44,4 +44,4 @@ @@ -44,4 +44,4 @@
<user name="http://spring.security.test.myopenid.com/" password="password" authorities="ROLE_SUPERVISOR,ROLE_USER" />
</user-service>
</b:beans>
</b:beans>

Loading…
Cancel
Save