public interface SecurityPolicy
SecurityPolicyRule
, evaluated against a MessageContext
, that
is meant to determine if a message is well-formed, valid, and otherwise okay to process.
Security policies MUST be thread safe and stateless.修飾子とタイプ | メソッドと説明 |
---|---|
void |
evaluate(MessageContext messageContext)
Evaluates this policy.
|
List<SecurityPolicyRule> |
getPolicyRules()
Gets the rules that are evaluated for this policy.
|
List<SecurityPolicyRule> getPolicyRules()
void evaluate(MessageContext messageContext) throws SecurityPolicyException
getPolicyRules()
.messageContext
- the message context being evaluatedSecurityPolicyException
- thrown if the requirements of the security policy, including those of
any of its rules, are not satisfied by the given message context. Also thrown if any error
is encountered during evaluationCopyright © 2012. All Rights Reserved.