Examples of requestSecurityTokenResponse()


Examples of org.apache.cxf.fediz.service.idp.IdpSTSClient.requestSecurityTokenResponse()

            || FederationConstants.WS_FEDERATION_NS.equals(serviceConfig.getProtocol()))) {
            LOG.error("Protocol " + serviceConfig.getProtocol() + " not supported for " + wtrealm);
            throw new ProcessingException(TYPE.BAD_REQUEST);
        }
       
        String rpToken = sts.requestSecurityTokenResponse(wtrealm);
       
        InputStream is = new ByteArrayInputStream(rpToken.getBytes());
        Document doc = DOMUtils.readXml(is);
        NodeList nd = doc.getElementsByTagName("saml2:Assertion");
        if (nd.getLength() == 0) {
View Full Code Here

Examples of org.apache.cxf.fediz.service.idp.IdpSTSClient.requestSecurityTokenResponse()

            || FederationConstants.WS_FEDERATION_NS.equals(serviceConfig.getProtocol()))) {
            LOG.error("Protocol " + serviceConfig.getProtocol() + " not supported for " + wtrealm);
            throw new ProcessingException(TYPE.BAD_REQUEST);
        }
       
        String rpToken = sts.requestSecurityTokenResponse(wtrealm);
       
        InputStream is = new ByteArrayInputStream(rpToken.getBytes());
        Document doc = DOMUtils.readXml(is);
        NodeList nd = doc.getElementsByTagName("saml2:Assertion");
        if (nd.getLength() == 0) {
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.