Package com.google.gsa.valve.saml.authn

Examples of com.google.gsa.valve.saml.authn.SAMLAuthN


        //Create the referer var                   
        refererSAML =
                ValveUtils.getGSAHost("", valveConf, cookies, valveConf.getRefererCookieName());

        //redirect to the GSA's Artifact consumer
        SAMLAuthN samlAuthN = new SAMLAuthN();
        String redirectURL = null;
        try {
            redirectURL =
                    samlAuthN.redirectLocation(refererSAML, relayState, artifact);
        } catch (UnsupportedEncodingException e) {
            logger.error("Error when creating the SAML redirecting URL: " + e);
        }
        logger.debug("SAML:Redirecting to " + redirectURL);
        response.sendRedirect(redirectURL);
View Full Code Here


            //redirect to the GSA's Artifact consumer
            try {
                refererSAML =
                    ValveUtils.getGSAHost("", valveConf, cookies, valveConf.getRefererCookieName());           
                SAMLAuthN samlAuthN = new SAMLAuthN();
                String redirectURL =
                    samlAuthN.redirectLocation(refererSAML, relayState, artifact);
                logger.debug("SAML:Redirecting to " + redirectURL);
                response.sendRedirect(redirectURL);
            } catch (ValveConfigurationException e) {
                logger.error ("Configuration error: "+ e.getMessage(),e);
                response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
View Full Code Here

TOP

Related Classes of com.google.gsa.valve.saml.authn.SAMLAuthN

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.