In the sample app here:
http://static.springsource.org/sprin...tml#cas-sample
the role based access is configured using the following bean:
Is there any way to grant access to pages which should be accessible anonymously, even though cas is handling authentication?Code:<bean id="fsi" class="org.springframework.security.web.access.intercept.FilterSecurityInterceptor"> <property name="authenticationManager" ref="authenticationManager"/> <property name="accessDecisionManager" ref="httpRequestAccessDecisionManager"/> <property name="securityMetadataSource"> <sec:filter-invocation-definition-source> <sec:intercept-url pattern="/secure/extreme/**" access="ROLE_SUPERVISOR"/> <sec:intercept-url pattern="/secure/**" access="ROLE_USER"/> <sec:intercept-url pattern="/**" access="ROLE_USER"/> </sec:filter-invocation-definition-source> </property> </bean>


Reply With Quote