#include <saml/binding/SecurityPolicyRule.h>
Public Member Functions | |
virtual const char * | getType () const =0 |
Returns the rule's class/type. | |
virtual bool | evaluate (const xmltooling::XMLObject &message, const xmltooling::GenericRequest *request, SecurityPolicy &policy) const =0 |
Evaluates the rule against the given request and message. |
Rules must be stateless and thread-safe across evaluations. Evaluation should not result in an exception if the request/message properties do not apply to the rule (e.g. particular security mechanisms that are not present).
|
Evaluates the rule against the given request and message. An exception will be raised if the message is fatally invalid according to a policy rule. The return value is used to indicate whether a message was ignored or successfully processed. A false value signals that the rule wasn't successful because the rule was inapplicable to the message, but allows other rules to return an alternate result.
|
|
Returns the rule's class/type.
|