[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnReq...
noreply at shibboleth.net
noreply at shibboleth.net
Fri May 24 14:33:48 EDT 2013
Author: putmanb
Date: Fri May 24 14:33:48 2013
New Revision: 3343
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3343&view=rev
Log:
Change to autocreate SamlPeerEntityContext, since entityId is resolved dynamically now.
Modified:
trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnRequestsSignedSecurityHandler.java
Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnRequestsSignedSecurityHandler.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnRequestsSignedSecurityHandler.java?rev=3343&r1=3342&r2=3343&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnRequestsSignedSecurityHandler.java (original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/saml2/binding/security/SAML2AuthnRequestsSignedSecurityHandler.java Fri May 24 14:33:48 2013
@@ -48,7 +48,7 @@
return;
}
- SamlPeerEntityContext peerContext = messageContext.getSubcontext(SamlPeerEntityContext.class, false);
+ SamlPeerEntityContext peerContext = messageContext.getSubcontext(SamlPeerEntityContext.class, true);
if (peerContext == null || Strings.isNullOrEmpty(peerContext.getEntityId())) {
log.warn("SAML peer entityID was not available, unable to evaluate rule");
return;
More information about the commits
mailing list