Interface ConditionsProvider
Implementations of this interface will be consulted to obtain the Conditions object included in generated SAML2 assertions.
If the published STS instance does not encapsulate a custom ConditionsProvider, then the DefaultConditionsProvider class
will be referenced to obtain the Conditions statement.
-
Method Summary
Modifier and TypeMethodDescriptionget(SAML2Config saml2Config, Date issueInstant, SAML2SubjectConfirmation saml2SubjectConfirmation) Called to obtain the Conditions instance to be included in the generated SAML2 assertion
-
Method Details
-
get
Conditions get(SAML2Config saml2Config, Date issueInstant, SAML2SubjectConfirmation saml2SubjectConfirmation) throws TokenCreationException Called to obtain the Conditions instance to be included in the generated SAML2 assertion- Parameters:
saml2Config- STS-instance-specific SAML2 configurationsissueInstant- The instant at which the enclosing assertion was issuedsaml2SubjectConfirmation- The subject confirmation specification- Returns:
- The generated Conditions instance.
- Throws:
TokenCreationException- If there was an error while creating the Conditions.
-