java.lang.Object
se.swedenconnect.spring.saml.idp.authnrequest.validation.replay.RedisReplayCache
All Implemented Interfaces:
org.opensaml.storage.ReplayCache

public class RedisReplayCache extends Object implements org.opensaml.storage.ReplayCache
A generic Redis ReplayCache implementation.
Author:
Martin Lindström
  • Constructor Details

    • RedisReplayCache

      public RedisReplayCache(org.springframework.data.redis.core.StringRedisTemplate redisTemplate)
      Constructor.
      Parameters:
      redisTemplate - the Redis template
  • Method Details

    • check

      public boolean check(@Nonnull String context, @Nonnull String key, @Nonnull Instant expires)
      Specified by:
      check in interface org.opensaml.storage.ReplayCache