|
|
|
|
@ -87,11 +87,12 @@ import org.springframework.web.filter.GenericFilterBean;
@@ -87,11 +87,12 @@ import org.springframework.web.filter.GenericFilterBean;
|
|
|
|
|
* <tt>FilterSecurityInteceptor</tt> in the chain, in order to apply the correct constraints to the <tt>switchUserUrl</tt>. |
|
|
|
|
* Example: |
|
|
|
|
* <pre> |
|
|
|
|
* <bean id="switchUserProcessingFilter" class="org.springframework.security.web.authentication.SwitchUserFilter"> |
|
|
|
|
* <bean id="switchUserProcessingFilter" class="org.springframework.security.web.authentication.switchuser.SwitchUserFilter"> |
|
|
|
|
* <property name="userDetailsService" ref="userDetailsService" /> |
|
|
|
|
* <property name="switchUserUrl"><value>/j_spring_security_switch_user</value></property> |
|
|
|
|
* <property name="exitUserUrl"><value>/j_spring_security_exit_user</value></property> |
|
|
|
|
* <property name="targetUrl"><value>/index.jsp</value></property></bean> |
|
|
|
|
* <property name="switchUserUrl" value="/j_spring_security_switch_user" /> |
|
|
|
|
* <property name="exitUserUrl" value="/j_spring_security_exit_user" /> |
|
|
|
|
* <property name="targetUrl" value="/index.jsp" /> |
|
|
|
|
* </bean> |
|
|
|
|
* </pre> |
|
|
|
|
* |
|
|
|
|
* @author Mark St.Godard |
|
|
|
|
|