Preserve order when applying ARP filters.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 9 Apr 2003 14:47:31 +0000 (14:47 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 9 Apr 2003 14:47:31 +0000 (14:47 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@557 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 0ff3d98..9d6ef18 100755 (executable)
@@ -54,6 +54,7 @@ import java.net.URI;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.security.Principal;
+import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
@@ -288,7 +289,7 @@ public class ArpEngine {
                        }
 
                        //Handle "Permit All-Except" and "Permit Specific"
-                       Set releaseValues = new HashSet();
+                       ArrayList releaseValues = new ArrayList();
                        for (Iterator valueIterator = arpAttribute.getValues();valueIterator.hasNext();) {
                                Object value = valueIterator.next();
                                if (attribute.isValuePermitted(value)) {