org.opensaml.saml2.binding.security
Class SAML2AuthnRequestsSignedRule
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private final org.slf4j.Logger log
- Logger.
SAML2AuthnRequestsSignedRule
public SAML2AuthnRequestsSignedRule()
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.