public class SoapResponseCreator extends ResponseCreatorImpl implements ResponseCreator
Modifier and Type | Field and Description |
---|---|
static String |
HTTP_SCHEMAS_XMLSOAP_ORG_SOAP_ACTOR_NEXT |
static org.slf4j.Logger |
LOGGER |
systemCrypto
Constructor and Description |
---|
SoapResponseCreator(SystemCrypto systemCrypto,
Map<String,EntityInformation> serviceProviders,
Set<SamlPresignPlugin> presignPlugins,
List<String> spMetadata,
Set<SamlProtocol.Binding> supportedBindings) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getSamlpResponse(String relayState,
org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
org.opensaml.saml.saml2.core.Response samlResponse,
javax.ws.rs.core.NewCookie cookie,
String responseTemplate)
Returns the JAXRS Response appropriate for the given arguments.
|
getAssertionConsumerServiceURL, getServiceProviders, getSimpleSign, getSystemCrypto, processPresignPlugins
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssertionConsumerServiceBinding, getAssertionConsumerServiceURL
public static final org.slf4j.Logger LOGGER
public static final String HTTP_SCHEMAS_XMLSOAP_ORG_SOAP_ACTOR_NEXT
public SoapResponseCreator(SystemCrypto systemCrypto, Map<String,EntityInformation> serviceProviders, Set<SamlPresignPlugin> presignPlugins, List<String> spMetadata, Set<SamlProtocol.Binding> supportedBindings)
public javax.ws.rs.core.Response getSamlpResponse(String relayState, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, org.opensaml.saml.saml2.core.Response samlResponse, javax.ws.rs.core.NewCookie cookie, String responseTemplate) throws IOException, SimpleSign.SignatureException, org.apache.wss4j.common.ext.WSSecurityException
ResponseCreator
getSamlpResponse
in interface ResponseCreator
relayState
- - encoded relay stateauthnRequest
- - unencoded authnRequestsamlResponse
- - initialized SAML 2 Response objectcookie
- - cookie associated with the loginresponseTemplate
- - response template to be used when generating the responseIOException
SimpleSign.SignatureException
org.apache.wss4j.common.ext.WSSecurityException
This work is licensed under a Creative Commons Attribution 4.0 International License.