|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensaml.ws.security.provider.BasicSecurityPolicy
public class BasicSecurityPolicy
Basic security policy implementation which evaluates a given set of SecurityPolicyRule in an ordered manner.
A policy evaluates successfully if, and only if, all policy rules evaluate successfully.
| Field Summary | |
|---|---|
private ArrayList<SecurityPolicyRule> |
rules
Registered security rules. |
| Constructor Summary | |
|---|---|
BasicSecurityPolicy()
Constructor. |
|
| Method Summary | |
|---|---|
void |
evaluate(MessageContext messageContext)
Evaluates this policy. |
List<SecurityPolicyRule> |
getPolicyRules()
Gets the rules that are evaluated for this policy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private ArrayList<SecurityPolicyRule> rules
| Constructor Detail |
|---|
public BasicSecurityPolicy()
| Method Detail |
|---|
public List<SecurityPolicyRule> getPolicyRules()
getPolicyRules in interface SecurityPolicy
public void evaluate(MessageContext messageContext)
throws SecurityPolicyException
SecurityPolicy.getPolicyRules().
evaluate in interface SecurityPolicymessageContext - the message context being evaluated
SecurityPolicyException - 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 evaluation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||