Updated EchoContext to match new attribute name.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 24 Feb 2003 23:34:47 +0000 (23:34 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 24 Feb 2003 23:34:47 +0000 (23:34 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@507 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

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

index 60cd4e1..4ceb865 100755 (executable)
@@ -40,9 +40,9 @@ public class EchoDirContext extends InitialDirContext{
        BasicAttributes attrs = new BasicAttributes();
 
        for(int i=0; i<ids.length; i++){
-           if(ids[i].equalsIgnoreCase("eduPersonAffiliation")){
+           if(ids[i].equalsIgnoreCase("eduPersonScopedAffiliation")){
                // return member as value;
-               attrs.put(new BasicAttribute("eduPersonAffiliation", "member"));
+               attrs.put(new BasicAttribute("eduPersonScopedAffiliation", "member"));
            }
            if(ids[i].equalsIgnoreCase("eduPersonPrincipalName")){
                // return uid