Package de.innovationgate.wgpublisher.webtml.utils

Examples of de.innovationgate.wgpublisher.webtml.utils.VarParamsMap


        }
    }

    private void processVarParams(String varParam) throws WGAPIException, UnsupportedEncodingException, IOException {
       
        VarParamsMap varParams = URLBuilder.extractVarParameters(varParam, getTMLContext().getwgacore().getDesEncrypter());
       
        // Wrong session? Discard var params
        if (!varParams.isValidSession(getPageContext().getSession())) {
            getTMLContext().getlog().warn("Var params for wrong session used by client " + getPageContext().getRequest().getRemoteAddr() + ". Not used.");
            return;
        }
       
        getTMLContext().getrequest().setAttribute(WGACore.ATTRIB_VAR_PARAMETERS, varParams);       
        for (Map.Entry<String,Object> param : varParams.entrySet()) {
            getTMLContext().setvar(param.getKey(), param.getValue());
        }
        
    }
View Full Code Here

TOP

Related Classes of de.innovationgate.wgpublisher.webtml.utils.VarParamsMap

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.