Fix OpenID sample to use new syntax for excluding requests.

This commit is contained in:
Luke Taylor 2010-06-05 16:53:01 +01:00
parent 2e865752ff
commit 6a37e4be86
1 changed files with 10 additions and 4 deletions

View File

@ -10,11 +10,17 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
<http pattern="/openidlogin.jsp*" secured="false" />
<http pattern="/images/*" secured="false" />
<http pattern="/css/*" secured="false" />
<http pattern="/js/*" secured="false" />
<http pattern="/stateless/*">
<intercept-url />
<http-basic />
</http>
<http>
<intercept-url pattern="/openidlogin.jsp*" filters="none"/>
<intercept-url pattern="/images/*" filters="none"/>
<intercept-url pattern="/css/*" filters="none"/>
<intercept-url pattern="/js/*" filters="none"/>
<intercept-url pattern="/**" access="ROLE_USER"/>
<logout/>
<openid-login login-page="/openidlogin.jsp" user-service-ref="registeringUserService"