Class OneTimeUseConditionValidator

java.lang.Object
org.opensaml.saml.saml2.assertion.impl.AbstractAssertionIDReplayValidator
org.opensaml.saml.saml2.assertion.impl.OneTimeUseConditionValidator
All Implemented Interfaces:
ConditionValidator

@ThreadSafe public class OneTimeUseConditionValidator extends AbstractAssertionIDReplayValidator implements ConditionValidator
ConditionValidator used for OneTimeUse conditions.

Supports the following ValidationContext static parameters:

Supports the following ValidationContext dynamic parameters:

  • None.
  • Field Details

    • CACHE_CONTEXT

      @Nonnull @NotEmpty public static final String CACHE_CONTEXT
      Cache context name.
    • log

      @Nonnull private org.slf4j.Logger log
      Logger.
  • Constructor Details

    • OneTimeUseConditionValidator

      public OneTimeUseConditionValidator(@Nonnull ReplayCache replay, @Nullable Duration expires)
      Constructor.
      Parameters:
      replay - reply cache used to track which assertions have been used
      expires - time for disposal of tracked assertion from the replay cache. May be null, then defaults to 8 hours
  • Method Details