public class IssueInstantRule extends Object implements SecurityPolicyRule
| Constructor and Description |
|---|
IssueInstantRule(int newClockSkew,
int newExpires)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(MessageContext messageContext)
Evaluates the message context against the rule.
|
boolean |
isRequiredRule()
Gets whether this rule is required to be met.
|
void |
setRequiredRule(boolean required)
Sets whether this rule is required to be met.
|
public IssueInstantRule(int newClockSkew,
int newExpires)
newClockSkew - the new clock skew value (seconds)newExpires - the new expiration value (seconds)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 SecurityPolicyRulemessageContext - the message context being evaluatedSecurityPolicyException - thrown if the message context does not meet the requirements of the rule,
or if there is a non-recoverable error during evaluationCopyright © 2018 JBoss by Red Hat. All rights reserved.