Bypass ARP filtering when there are no attributes.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 17:40:29 +0000 (17:40 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 4 Mar 2003 17:40:29 +0000 (17:40 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@532 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/arp/ArpEngine.java

index 6856542..e876cc3 100755 (executable)
@@ -231,6 +231,11 @@ public class ArpEngine {
                String requester,
                URL resource)
                throws ArpProcessingException {
+                       
+                       if (attributes.length == 0) {
+                               log.debug("ARP Engine was asked to apply filter to empty attribute set.");
+                               return new ArpAttribute[0];
+                       }
 
                Set releaseSet = new HashSet();