Class AddNotOnOrAfterConditionToAssertions

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction

public class AddNotOnOrAfterConditionToAssertions extends AbstractConditionalProfileAction
Action that adds the NotBefore attribute to every assertion in a SAML 1/2 response message. If the containing Conditions is not present, it will be created.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_MSG_CTX
  • Field Details

    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • responseLookupStrategy

      @Nonnull private Function<ProfileRequestContext,SAMLObject> responseLookupStrategy
      Strategy used to locate the Response to operate on.
    • assertionLifetimeStrategy

      @Nullable private Function<ProfileRequestContext,Duration> assertionLifetimeStrategy
      Strategy to obtain assertion lifetime policy.
    • defaultAssertionLifetime

      @Nonnull private Duration defaultAssertionLifetime
      Default lifetime to use to establish timestamp.
    • response

      @NonnullBeforeExec private SAMLObject response
      Response to modify.
  • Constructor Details

    • AddNotOnOrAfterConditionToAssertions

      public AddNotOnOrAfterConditionToAssertions()
      Constructor.
  • Method Details