Interface ConditionsProvider
-
@SupportedAll public 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Conditions
get(SAML2Config saml2Config, Date issueInstant, SAML2SubjectConfirmation saml2SubjectConfirmation)
Called to obtain the Conditions instance to be included in the generated SAML2 assertion
-
-
-
Method Detail
-
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.
-
-