Make eduPersonScopedAffiliation pull from eduPersonAffiliation. This shouldn't be...
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 5 Mar 2003 16:56:17 +0000 (16:56 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 5 Mar 2003 16:56:17 +0000 (16:56 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@539 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aaLocal/EchoDirContext.java

index 0215f4f..ae08712 100755 (executable)
@@ -44,6 +44,10 @@ public class EchoDirContext extends InitialDirContext{
                // return member as value;
                attrs.put(new BasicAttribute("eduPersonScopedAffiliation", "member"));
            }
+               if(ids[i].equalsIgnoreCase("eduPersonAffiliation")){
+               // return member as value;
+               attrs.put(new BasicAttribute("eduPersonAffiliation", "member"));
+               }
            if(ids[i].equalsIgnoreCase("eduPersonPrincipalName")){
                // return uid
                attrs.put(new BasicAttribute("eduPersonPrincipalName", uid));