public interface ResponseCreator
Modifier and Type | Method and Description |
---|---|
static String |
getAssertionConsumerServiceBinding(org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
Map<String,EntityInformation> serviceProviders)
Returns the assertion consumer service binding that is appropriate by parsing the AuthnRequest
as well as the metadata for the given SP
|
String |
getAssertionConsumerServiceURL(org.opensaml.saml.saml2.core.AuthnRequest authnRequest) |
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.
|
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
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
static String getAssertionConsumerServiceBinding(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, Map<String,EntityInformation> serviceProviders)
authnRequest
- serviceProviders
- String getAssertionConsumerServiceURL(org.opensaml.saml.saml2.core.AuthnRequest authnRequest)
This work is licensed under a Creative Commons Attribution 4.0 International License.