org.opensaml.saml2.binding.security
Class SAML2AuthnRequestsSignedRule

java.lang.Object
  extended by org.opensaml.saml2.binding.security.SAML2AuthnRequestsSignedRule
All Implemented Interfaces:
SecurityPolicyRule

public class SAML2AuthnRequestsSignedRule
extends Object
implements SecurityPolicyRule

Security policy rule implementation that enforces the AuthnRequestsSigned flag of SAML 2 metadata element @{link SPSSODescriptor.


Field Summary
private  org.slf4j.Logger log
          Logger.
 
Constructor Summary
SAML2AuthnRequestsSignedRule()
           
 
Method Summary
 void evaluate(MessageContext messageContext)
          
protected  boolean isMessageSigned(SAMLMessageContext messageContext)
          Determine whether the inbound message is signed.
 
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
Logger.

Constructor Detail

SAML2AuthnRequestsSignedRule

public SAML2AuthnRequestsSignedRule()
Method Detail

evaluate

public void evaluate(MessageContext messageContext)
              throws SecurityPolicyException

Specified by:
evaluate in interface SecurityPolicyRule
Throws:
SecurityPolicyException

isMessageSigned

protected boolean isMessageSigned(SAMLMessageContext messageContext)
Determine whether the inbound message is signed.

Parameters:
messageContext - the message context being evaluated
Returns:
true if the inbound message is signed, otherwise false


Copyright © 1999-2012. All Rights Reserved.