Package com.san.my.framework

Examples of com.san.my.framework.SessionContainer


  public String intercept(ActionInvocation invocation) throws Exception {
    // TODO Login validation - exclude for image requests     
    final ActionContext context = invocation.getInvocationContext ();
      HttpServletRequest request = (HttpServletRequest) context.get(StrutsStatics.HTTP_REQUEST);
      HttpSession session =  request.getSession (true);
      SessionContainerHolder.setSessionContainerToThreadContext(new SessionContainer(session));

    return invocation.invoke();
  }
View Full Code Here


        System.out.println("IN LOGIN FILTER..........."+((HttpServletRequest)request).getRequestURI());
    //logger.debug("begin doFilter()...");
    HttpServletRequest hreq = (HttpServletRequest) request;
    HttpSession session = hreq.getSession();
    HttpServletResponse hres = (HttpServletResponse) response;
    SessionContainer regSession = new SessionContainer(session);
       
    // don't intercept logout, timeout, error and asset requests
    String contextPath = hreq.getContextPath();
    String requestURI = hreq.getRequestURI();
    if (requestURI.endsWith(".gif") || requestURI.endsWith(".jpg")
View Full Code Here

TOP

Related Classes of com.san.my.framework.SessionContainer

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.