...
- Allow anonymous access to all web resources by editing the
objectDefinitionSource
on theFilterSecurityInterceptor
to look like the example below. - Use
PentahoAllowAnonymousAclVoter
as yourIAclVoter
implementation. See 03. pentaho.xml for a description of how to configure this voter. When configuring this voter, you will define the anonymous user and role. That user and/or role should be used when assigning ACLs. - Assign ACLs using the user and role defined in the previous step. You'll most likely want to assign ACLs as a batch using these steps.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<bean id="filterInvocationInterceptor" class="org.acegisecurity.intercept.web.FilterSecurityInterceptor"> <property name="authenticationManager"> <ref local="authenticationManager" /> </property> <property name="accessDecisionManager"> <ref local="httpRequestAccessDecisionManager" /> </property> <property name="objectDefinitionSource"> <value> <![CDATA[ CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON \A/.*\Z=Anonymous ]]> </value> </property> </bean> |