use of org.opensaml.saml.saml2.ecp.impl.RelayStateBuilder in project ddf by codice.
the class SoapResponseCreator method createEcpRelayState.
private String createEcpRelayState(String relayStateStr) throws WSSecurityException {
RelayStateBuilder relayStateBuilder = new RelayStateBuilder();
RelayState relayState = relayStateBuilder.buildObject();
relayState.setSOAP11Actor(HTTP_SCHEMAS_XMLSOAP_ORG_SOAP_ACTOR_NEXT);
relayState.setSOAP11MustUnderstand(true);
relayState.setValue(relayStateStr);
return convertXmlObjectToString(relayState);
}
use of org.opensaml.saml.saml2.ecp.impl.RelayStateBuilder in project ddf by codice.
the class IdpHandler method createEcpRelayState.
private String createEcpRelayState(HttpServletRequest request) throws WSSecurityException {
RelayStateBuilder relayStateBuilder = new RelayStateBuilder();
RelayState relayState = relayStateBuilder.buildObject();
relayState.setSOAP11Actor(HTTP_SCHEMAS_XMLSOAP_ORG_SOAP_ACTOR_NEXT);
relayState.setSOAP11MustUnderstand(true);
relayState.setValue(createRelayState(request));
return convertXmlObjectToString(relayState);
}
Aggregations