org.opensaml.ws.security.provider
Class MandatoryAuthenticatedMessageRule

java.lang.Object
  extended by org.opensaml.ws.security.provider.MandatoryAuthenticatedMessageRule
All Implemented Interfaces:
SecurityPolicyRule

public class MandatoryAuthenticatedMessageRule
extends Object
implements SecurityPolicyRule

Security policy rule that requires that a message has been authenticated.


Field Summary
private  org.slf4j.Logger log
          Class logger.
 
Constructor Summary
MandatoryAuthenticatedMessageRule()
           
 
Method Summary
 void evaluate(MessageContext messageContext)
          Evaluates the message context against the rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.

Constructor Detail

MandatoryAuthenticatedMessageRule

public MandatoryAuthenticatedMessageRule()
Method Detail

evaluate

public void evaluate(MessageContext messageContext)
              throws SecurityPolicyException
Evaluates the message context against the rule.

Specified by:
evaluate in interface SecurityPolicyRule
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 © 1999-2013. All Rights Reserved.