Examples of EEMSHTTPSessionBindingListener


Examples of com.eforce.baby.utils.EEMSHTTPSessionBindingListener

        /* Get UserID */
        String userID = userBD.findUserID(cvo.getDatasourceName(),cvo.getDatabaseType(),userVO.getUserName());
        userSess.setUserId(userID);
                userSess.setUserPrivilegeList(userPrivileges);
        session.setAttribute(IConstants.SESSION_ATTR_USER_SESSION_INFO, userSess);
        session.setAttribute(IConstants.SESSION_ATTR_HTTP_BINDING_LISTENER, new EEMSHTTPSessionBindingListener());
          log.debug("USER SESSION INFO: " + userSess.toString());
                log.debug("Setting User Login Id: " + userVO.getUserName());
                userSess.setUserLoginId(userVO.getUserName());
        //session.setAttribute("UserLoginID", userVO.getUserName());
        ////////////////////////////////////////////////////////////
        //request.setAttribute("redURL",dynaForm.getString("redURL"));
        if(dynaForm.getString("redURL").equals("/admin/list_customers.jsp"))
          actionFrwd = mapping.findForward("profileRedURL");
        ////////////////////////////////////////////////////////////
        else
          actionFrwd = mapping.findForward("profileURL");
            }
            else
            {
              /* If autoProfileUpdateEnabled is on */
        log.debug("Configuration : "+cvo.getConfigurationType());
        log.debug("Found Profile Id");
                userSess.setUserPrivilegeList(userPrivileges);
        session.setAttribute(IConstants.SESSION_ATTR_USER_SESSION_INFO, userSess);
        session.setAttribute(IConstants.SESSION_ATTR_HTTP_BINDING_LISTENER, new EEMSHTTPSessionBindingListener());
        log.debug("USER SESSION INFO: " + userSess.toString());
               
                /* Check if the forceprofile is enabled or not */
                String profileEnabled = "";
        profileEnabled = userBD.findProfileEnabled(cvo.getDatasourceName(), cvo.getDatabaseType());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.