|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.common.binding.security.IssueInstantRule
public class IssueInstantRule
Security policy rule implementation that checks for validity of SAML message issue instant date and time.
| Field Summary | |
|---|---|
private int |
clockSkew
Clock skew - the number of seconds before a lower time bound, or after an upper time bound, to consider still acceptable. |
private int |
expires
Number of seconds after a message issue instant after which the message is considered expired. |
private org.slf4j.Logger |
log
Class logger. |
private boolean |
requiredRule
Whether this rule is required to be met. |
| Constructor Summary | |
|---|---|
IssueInstantRule(int newClockSkew,
int newExpires)
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 int clockSkew
private int expires
private boolean requiredRule
| Constructor Detail |
|---|
public IssueInstantRule(int newClockSkew,
int newExpires)
newClockSkew - the new clock skew value (seconds)newExpires - the new expiration value (seconds)| Method Detail |
|---|
public boolean isRequiredRule()
public void setRequiredRule(boolean required)
required - whether this rule is required to be met
public void evaluate(MessageContext messageContext)
throws SecurityPolicyException
evaluate in interface SecurityPolicyRuleSecurityPolicyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||