Package se.swedenconnect.bankid.idp.ext
Class RedisReplayChecker
java.lang.Object
se.swedenconnect.spring.saml.idp.authnrequest.validation.AbstractMessageReplayChecker
se.swedenconnect.bankid.idp.ext.RedisReplayChecker
- All Implemented Interfaces:
MessageReplayChecker
@Deprecated(forRemoval=true,
since="2.1.0")
public class RedisReplayChecker
extends AbstractMessageReplayChecker
Deprecated, for removal: This API element is subject to removal in a future version.
ReplayChecker using two Redis sorted set. One for replays and one for expiration.
- Author:
- Martin Lindström, Felix Hellman
-
Field Summary
Fields inherited from class se.swedenconnect.spring.saml.idp.authnrequest.validation.AbstractMessageReplayChecker
DEFAULT_REPLAY_CACHE_EXPIRATION, replayCacheExpiration
-
Constructor Summary
ConstructorDescriptionRedisReplayChecker
(RedissonClient client) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToCache
(String s) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class se.swedenconnect.spring.saml.idp.authnrequest.validation.AbstractMessageReplayChecker
checkReplay, checkReplay, setReplayCacheExpiration
-
Constructor Details
-
RedisReplayChecker
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
client
- the Redis client
-
-
Method Details
-
existsInCache
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
existsInCache
in classAbstractMessageReplayChecker
-
addToCache
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
addToCache
in classAbstractMessageReplayChecker
-
RedisReplayCache
andMessageReplayCheckerImpl
instead