make sure conditions get set
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Dec 2007 19:47:49 +0000 (19:47 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Dec 2007 19:47:49 +0000 (19:47 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2495 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/profile/saml2/AbstractSAML2ProfileHandler.java

index a29ef50..897512a 100644 (file)
@@ -313,8 +313,8 @@ public abstract class AbstractSAML2ProfileHandler extends AbstractSAMLProfileHan
                 audience.setAudienceURI(audienceUri);
                 audienceRestriction.getAudiences().add(audience);
             }
-            conditions.getAudienceRestrictions().add(audienceRestriction);
         }
+        conditions.getAudienceRestrictions().add(audienceRestriction);
 
         // add proxy restrictions
         audiences = profileConfig.getProxyAudiences();