public class SubjectConfirmationPresignPlugin extends Object implements SamlPresignPlugin
<SubjectConfirmation>
element MUST contain a <SubjectConfirmationData>
element that
itself MUST contain a Recipient
attribute containing the service provider's assertion
consumer service URL and a NotOnOrAfter
attribute that limits the window during which the
assertion can be confirmed by the relying party." as per section 4.1.4.2 of the SAML Spec.Constructor and Description |
---|
SubjectConfirmationPresignPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
processPresign(org.opensaml.saml.saml2.core.Response response,
org.opensaml.saml.saml2.core.AuthnRequest authnRequest,
List<String> spMetadata,
Set<SamlProtocol.Binding> supportedBindings)
Modifies SAML response prior to re-signing and returning.
|
public void processPresign(org.opensaml.saml.saml2.core.Response response, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, List<String> spMetadata, Set<SamlProtocol.Binding> supportedBindings)
SamlPresignPlugin
processPresign
in interface SamlPresignPlugin
response
- the SAML response to modifyauthnRequest
- the associated authentication requestspMetadata
- list of Strings holding the Service Provider(s) metadatasupportedBindings
- set of supported SAML binding types, e.g. Post/Redirect/SOAPThis work is licensed under a Creative Commons Attribution 4.0 International License.