[java-shib-idp2 COMMIT] /branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPP...

noreply at shibboleth.net noreply at shibboleth.net
Fri Feb 1 16:45:32 EST 2013


Author: scantor
Date: Fri Feb  1 16:45:32 2013
New Revision: 3134

URL: http://svn.shibboleth.net/view/java-shib-idp2?rev=3134&view=rev
Log:
SIDP-558: Add advice element to assertion.

Modified:
    branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPProfileHandler.java

Modified: branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPProfileHandler.java
URL: http://svn.shibboleth.net/view/java-shib-idp2/branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPProfileHandler.java?rev=3134&r1=3133&r2=3134&view=diff
==============================================================================
--- branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPProfileHandler.java (original)
+++ branches/REL_2/src/main/java/edu/internet2/middleware/shibboleth/idp/profile/saml2/SAML2ECPProfileHandler.java Fri Feb  1 16:45:32 2013
@@ -460,6 +460,7 @@
         Advice advice = assertion.getAdvice();
         if (advice == null) {
             advice = adviceBuilder.buildObject();
+            assertion.setAdvice(advice);
         }
         ChannelBindings cb = ((ECPRequestContext) requestContext).getMatchedChannelBindings();
         if (cb != null) {



More information about the commits mailing list