public class MessageReplaySecurityHandler
extends org.opensaml.messaging.handler.AbstractMessageHandler
| Modifier and Type | Field and Description |
|---|---|
private long |
expires
Time in milliseconds to expire cache entries.
|
private org.slf4j.Logger |
log
Logger.
|
private ReplayCache |
replayCache
Message replay cache instance to use.
|
private boolean |
requiredRule
Whether this rule is required to be met.
|
| Constructor and Description |
|---|
MessageReplaySecurityHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected void |
doInvoke(org.opensaml.messaging.context.MessageContext messageContext) |
long |
getExpires()
Gets the lifetime in milliseconds of replay entries.
|
ReplayCache |
getReplayCache()
Get the replay cache instance to use.
|
void |
setExpires(long exp)
Sets the lifetime in seconds of replay entries.
|
void |
setReplayCache(ReplayCache cache)
Set the replay cache instance to use.
|
void |
setRequiredRule(boolean flag)
Set whether this rule is required to be met.
|
doPostInvoke, doPostInvoke, doPreInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private ReplayCache replayCache
private boolean requiredRule
@Duration @NonNegative private long expires
@NonnullAfterInit public ReplayCache getReplayCache()
public void setReplayCache(@Nonnull ReplayCache cache)
cache - The replayCache to set.public void setRequiredRule(boolean flag)
flag - flag to set@Duration @NonNegative public long getExpires()
@Duration public void setExpires(@Duration @NonNegative long exp)
exp - lifetime in seconds of entriesprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionprotected void doInvoke(@Nonnull org.opensaml.messaging.context.MessageContext messageContext) throws org.opensaml.messaging.handler.MessageHandlerException
doInvoke in class org.opensaml.messaging.handler.AbstractMessageHandlerorg.opensaml.messaging.handler.MessageHandlerExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.