daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <bean id="switchUserProcessingFilter"  
  2.         class="org.springframework.security.web.authentication.switchuser.SwitchUserFilter">
  3.  <property name="userDetailsService" ref="customDetailService" />  
  4.      <property name="switchUserUrl" value="/j_spring_security_switch_user" />    
  5.      <property name="exitUserUrl" value="/j_spring_security_exit_user" />
  6.  <property name="targetUrl" value="/" />
  7.     </bean>
  8.    
  9. <h:form>
  10. <h:inputText id="j_username" value="" styleClass="textInput" size="50"/>    
  11. <p>Click <h:commandLink value="here" action="/j_spring_security_switch_user"/> to switch to
  12.     user </p>
  13.      </h:form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top