Fixed a bug. Was using the wrong HashMap method.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 9 Apr 2003 22:00:17 +0000 (22:00 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 9 Apr 2003 22:00:17 +0000 (22:00 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@559 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/AAAttributeSet.java

index 6b81320..eb1ebbe 100644 (file)
@@ -107,7 +107,7 @@ public class AAAttributeSet implements ResolverAttributeSet, ArpAttributeSet {
        }
 
        public SAMLAttribute[] getAttributes() {
-               return (SAMLAttribute[]) attributes.entrySet().toArray(new SAMLAttribute[0]);
+               return (SAMLAttribute[]) attributes.values().toArray(new SAMLAttribute[0]);
        }
 
        public class ShibAttributeIterator implements ResolverAttributeIterator, ArpAttributeIterator {