org.opensaml.ws.security
Interface SecurityPolicyRule<RequestType extends javax.servlet.ServletRequest>
- Type Parameters:
RequestType
- the protocol request type
- All Known Implementing Classes:
- BaseSAMLSignatureSecurityPolicyRuleFactory.BaseSAMLSignatureSecurityPolicyRule, BaseTrustEngineRule, ClientCertAuthRule, HTTPRuleFactory.HTTPRule, IssueInstantRuleFactory.IssueInstantRule, ReplayRuleFactory.ReplayRule, SAML1ProtocolMessageRuleFactory.SAML1ProtocolMessageRule, SAML2ProtocolMessageRuleFactory.SAML2ProtocolMessageRule, SAMLMDClientCertAuthRuleFactory.SAMLMDClientCertAuthRule, SAMLProtocolMessageXMLSignatureSecurityPolicyRuleFactory.SAMLProtocolMessageXMLSignatureSecurityPolicyRule
public interface SecurityPolicyRule<RequestType extends javax.servlet.ServletRequest>
A rule that a protocol request and message must meet in order to be valid and secure.
evaluate
void evaluate(RequestType request,
XMLObject message,
SecurityPolicyContext context)
throws SecurityPolicyException
- Evaluates the rule against the given request and message.
- Parameters:
request
- the protocol requestmessage
- the incoming messagecontext
- the security policy context to use for evaluation and storage of related state info
- Throws:
SecurityPolicyException
- thrown if the request/message do not meet the requirements of this rule