org.opensaml.saml2.binding.security
Class SAML2AuthnRequestsSignedRule
java.lang.Object
org.opensaml.saml2.binding.security.SAML2AuthnRequestsSignedRule
- All Implemented Interfaces:
- org.opensaml.ws.security.SecurityPolicyRule
public class SAML2AuthnRequestsSignedRule
- extends Object
- implements org.opensaml.ws.security.SecurityPolicyRule
Security policy rule implementation that enforces the AuthnRequestsSigned flag of
SAML 2 metadata element @{link SPSSODescriptor
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAML2AuthnRequestsSignedRule
public SAML2AuthnRequestsSignedRule()
evaluate
public void evaluate(org.opensaml.ws.message.MessageContext messageContext)
throws org.opensaml.ws.security.SecurityPolicyException
-
- Specified by:
evaluate
in interface org.opensaml.ws.security.SecurityPolicyRule
- Throws:
org.opensaml.ws.security.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 © 2006-2010 Internet2. All Rights Reserved.