|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.common.binding.security.MessageReplayRule
public class MessageReplayRule
Security policy rule implementation that which checks for replay of SAML messages.
Field Summary | |
---|---|
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 Summary | |
---|---|
MessageReplayRule(ReplayCache newReplayCache)
Constructor. |
Method Summary | |
---|---|
void |
evaluate(MessageContext messageContext)
|
boolean |
isRequiredRule()
Gets whether this rule is required to be met. |
void |
setRequiredRule(boolean required)
Sets whether this rule is required to be met. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final org.slf4j.Logger log
private ReplayCache replayCache
private boolean requiredRule
Constructor Detail |
---|
public MessageReplayRule(ReplayCache newReplayCache)
newReplayCache
- the new replay cache instanceMethod Detail |
---|
public boolean isRequiredRule()
public void setRequiredRule(boolean required)
required
- whether this rule is required to be metpublic void evaluate(MessageContext messageContext) throws SecurityPolicyException
evaluate
in interface SecurityPolicyRule
SecurityPolicyException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |