Search in sources :

Example 1 with RequestAuthenticated

use of org.opensaml.saml.saml2.ecp.RequestAuthenticated in project ddf by codice.

the class SoapResponseCreator method createEcpRequestAuthenticated.

private String createEcpRequestAuthenticated(AuthnRequest authnRequest) throws WSSecurityException {
    if (authnRequest.getSignature() != null) {
        RequestAuthenticatedBuilder requestAuthenticatedBuilder = new RequestAuthenticatedBuilder();
        RequestAuthenticated requestAuthenticated = requestAuthenticatedBuilder.buildObject();
        requestAuthenticated.setSOAP11Actor(HTTP_SCHEMAS_XMLSOAP_ORG_SOAP_ACTOR_NEXT);
        return convertXmlObjectToString(requestAuthenticated);
    }
    return "";
}
Also used : RequestAuthenticated(org.opensaml.saml.saml2.ecp.RequestAuthenticated) RequestAuthenticatedBuilder(org.opensaml.saml.saml2.ecp.impl.RequestAuthenticatedBuilder)

Aggregations

RequestAuthenticated (org.opensaml.saml.saml2.ecp.RequestAuthenticated)1 RequestAuthenticatedBuilder (org.opensaml.saml.saml2.ecp.impl.RequestAuthenticatedBuilder)1