added switchUserProcessingFilter config, not added to filter chain (yet)

This commit is contained in:
Mark St. Godard 2005-09-03 21:45:32 +00:00
parent 3dcea7ace0
commit 230d1946b9
1 changed files with 9 additions and 0 deletions

View File

@ -180,4 +180,13 @@
</property>
</bean>
<!-- Filter used to switch the user context. Note: the switch and exit url must be secured
based on the role granted the ability to 'switch' to another user -->
<bean id="switchUserProcessingFilter" class="net.sf.acegisecurity.ui.switchuser.SwitchUserProcessingFilter">
<property name="authenticationDao" ref="jdbcDaoImpl" />
<property name="switchUserUrl"><value>/j_acegi_switch_user</value></property>
<property name="exitUserUrl"><value>/j_acegi_exit_user</value></property>
<property name="targetUrl"><value>/secure/index.htm</value></property>
</bean>
</beans>