Package org.jbpm.webapp.bean

Examples of org.jbpm.webapp.bean.UserBean$UserSelectItem


  }

  public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
    HttpServletRequest request = (HttpServletRequest) servletRequest;
    HttpSession session = request.getSession();
    UserBean userBean = null;
    if (session!=null) {
      userBean = (UserBean) session.getAttribute("userBean");
    }
    if (userBean!=null) {
      String actorId = userBean.getUserName();
      JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
      jbpmContext.setActorId(actorId);
    }
    filterChain.doFilter(servletRequest, servletResponse);
  }
View Full Code Here

TOP

Related Classes of org.jbpm.webapp.bean.UserBean$UserSelectItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.