public class MessageReplaySecurityHandler extends AbstractMessageHandler
| Constructor and Description |
|---|
MessageReplaySecurityHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected void |
doInvoke(MessageContext messageContext)
Performs the handler logic.
|
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, getLogPrefix, invokedestroy, doDestroy, initialize, isDestroyed, isInitialized@NonnullAfterInit public ReplayCache getReplayCache()
public void setReplayCache(@Nonnull ReplayCache cache)
cache - The replayCache to set.public void setRequiredRule(boolean flag)
flag - flag to set@NonNegative public long getExpires()
public void setExpires(@Duration @NonNegative
long exp)
exp - lifetime in seconds of entriesprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionprotected void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke in class AbstractMessageHandlermessageContext - the message context on which to invoke the handlerMessageHandlerException - if there is an error invoking the handler on the message contextCopyright © 2021. All rights reserved.