Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <bean id="switchUserProcessingFilter"
- class="org.springframework.security.web.authentication.switchuser.SwitchUserFilter">
- <property name="userDetailsService" ref="customDetailService" />
- <property name="switchUserUrl" value="/j_spring_security_switch_user" />
- <property name="exitUserUrl" value="/j_spring_security_exit_user" />
- <property name="targetUrl" value="/" />
- </bean>
- <h:form>
- <h:inputText id="j_username" value="" styleClass="textInput" size="50"/>
- <p>Click <h:commandLink value="here" action="/j_spring_security_switch_user"/> to switch to
- user </p>
- </h:form>
Add Comment
Please, Sign In to add comment