[java-opensaml2 COMMIT] in /branches/REL_2: doc/RELEASE-NOTES.txt src/main/java/org/opensaml/saml2/binding/decoding/B...

noreply at shibboleth.net noreply at shibboleth.net
Sat Jan 9 18:18:59 EST 2016


Author: putmanb
Date: Sat Jan  9 18:18:58 2016
New Revision: 1687

URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1687&view=rev
Log:
JOST-245: BaseSAML2MessageDecoder tries to get SAML1 role descriptor

Modified:
    branches/REL_2/doc/RELEASE-NOTES.txt
    branches/REL_2/src/main/java/org/opensaml/saml2/binding/decoding/BaseSAML2MessageDecoder.java

Modified: branches/REL_2/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/doc/RELEASE-NOTES.txt?rev=1687&r1=1686&r2=1687&view=diff
==============================================================================
--- branches/REL_2/doc/RELEASE-NOTES.txt	(original)
+++ branches/REL_2/doc/RELEASE-NOTES.txt	Sat Jan  9 18:18:58 2016
@@ -1,3 +1,7 @@
+Changes in Release 2.6.6
+=============================================
+[JOST-245] - BaseSAML2MessageDecoder tries to get SAML1 role descriptor
+
 Changes in Release 2.6.5
 =============================================
 [JOST-240] - Allow reloading metadata providers to accept a null Timer

Modified: branches/REL_2/src/main/java/org/opensaml/saml2/binding/decoding/BaseSAML2MessageDecoder.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/main/java/org/opensaml/saml2/binding/decoding/BaseSAML2MessageDecoder.java?rev=1687&r1=1686&r2=1687&view=diff
==============================================================================
--- branches/REL_2/src/main/java/org/opensaml/saml2/binding/decoding/BaseSAML2MessageDecoder.java	(original)
+++ branches/REL_2/src/main/java/org/opensaml/saml2/binding/decoding/BaseSAML2MessageDecoder.java	Sat Jan  9 18:18:58 2016
@@ -222,7 +222,7 @@
                 QName relyingPartyRole = messageContext.getPeerEntityRole();
                 if (relyingPartyMD != null && relyingPartyRole != null) {
                     List<RoleDescriptor> roles = relyingPartyMD.getRoleDescriptors(relyingPartyRole,
-                            SAMLConstants.SAML11P_NS);
+                            SAMLConstants.SAML20P_NS);
                     if (roles != null && roles.size() > 0) {
                         messageContext.setPeerEntityRoleMetadata(roles.get(0));
                     }



More information about the commits mailing list