public class BasicSecurityPolicy extends Object implements SecurityPolicy
SecurityPolicyRule
in an ordered manner.
A policy evaluates successfully if, and only if, all policy rules evaluate successfully.コンストラクタと説明 |
---|
BasicSecurityPolicy()
Constructor.
|
修飾子とタイプ | メソッドと説明 |
---|---|
void |
evaluate(MessageContext messageContext)
Evaluates this policy.
|
List<SecurityPolicyRule> |
getPolicyRules()
Gets the rules that are evaluated for this policy.
|
public List<SecurityPolicyRule> getPolicyRules()
getPolicyRules
インタフェース内 SecurityPolicy
public void evaluate(MessageContext messageContext) throws SecurityPolicyException
SecurityPolicy.getPolicyRules()
.evaluate
インタフェース内 SecurityPolicy
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.