public class PostResponseCreator extends ResponseCreatorImpl implements ResponseCreator
systemCrypto
Constructor and Description |
---|
PostResponseCreator(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 PostResponseCreator(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 org.apache.wss4j.common.ext.WSSecurityException, SimpleSign.SignatureException
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 responseorg.apache.wss4j.common.ext.WSSecurityException
SimpleSign.SignatureException
This work is licensed under a Creative Commons Attribution 4.0 International License.