org.opensaml.ws.security
Interface SecurityPolicyRule
- All Known Implementing Classes:
- BaseTrustEngineRule, ClientCertAuthRule, HTTPRule, MandatoryAuthenticatedMessageRule, MandatoryIssuerRule
public interface SecurityPolicyRule
An individual rule that a message context is required to meet in order to be considered valid.
Rules MUST be thread safe and stateless.
evaluate
void evaluate(MessageContext messageContext)
throws SecurityPolicyException
- Evaluates the message context against the rule.
- Parameters:
messageContext
- the message context being evaluated
- Throws:
SecurityPolicyException
- thrown if the message context does not meet the requirements of the rule,
or if there is a non-recoverable error during evaluation
Copyright © 2006-2011 Internet2. All Rights Reserved.