Class AssertionReplayValidator

java.lang.Object
org.opensaml.saml.saml2.assertion.impl.AbstractAssertionIDReplayValidator
org.opensaml.saml.saml2.assertion.impl.AssertionReplayValidator
All Implemented Interfaces:
AssertionValidator

public class AssertionReplayValidator extends AbstractAssertionIDReplayValidator implements AssertionValidator
An implementation of AssertionValidator which checks for assertion replay/reuse.
  • Field Details

    • CACHE_CONTEXT

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

    • AssertionReplayValidator

      public AssertionReplayValidator(@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