
Originally Posted by
simas
How do I tell Acegi to set user of the HTTP request to the SecurityContext?
Do I have to use a filter?
Yes. See here for reference.
I use this chain:
Code:
<bean id="security.filterChainProxy" class="org.acegisecurity.util.FilterChainProxy">
<property name="filterInvocationDefinitionSource">
<value>
CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/remoting/**=httpSessionContextIntegrationFilter,basicProcessingFilter
</value>
</property>
</bean>
Regards,
Andreas