Push SAML Attribute namespace configuration into the resolver. (Needed for proper...
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / aa / attrresolv / provider / MappedAttributeDefinition.java
index 21d1dbf..1f1ce12 100644 (file)
@@ -65,13 +65,15 @@ import edu.internet2.middleware.shibboleth.aa.attrresolv.ResolverAttribute;
  *    
  *     
  *      
  *    
  *     
  *      
- *            <ValueMap value="affiliate"  keyset="guest, prospect[a-z ]*, friends"                        />
- *            <ValueMap value="alum"       keyset="alum, alumni"                                           />
- *            <ValueMap value="employee"   keyset="employee"                                               />
- *            <ValueMap value="faculty"    keyset="faculty"                                                />
- *            <ValueMap value="member"     keyset="student, faculty, admin[a-z ]*, [a-z ]*admin, employee" />
- *            <ValueMap value="staff"      keyset="admin[a-z ]*, [a-z ]*admin"                             />
- *            <ValueMap value="student"    keyset="student"                                                />
+ *       
+ *             <ValueMap value="affiliate"  keyset="guest, prospect[a-z ]*, friends"                        />
+ *             <ValueMap value="alum"       keyset="alum, alumni"                                           />
+ *             <ValueMap value="employee"   keyset="employee"                                               />
+ *             <ValueMap value="faculty"    keyset="faculty"                                                />
+ *             <ValueMap value="member"     keyset="student, faculty, admin[a-z ]*, [a-z ]*admin, employee" />
+ *             <ValueMap value="staff"      keyset="admin[a-z ]*, [a-z ]*admin"                             />
+ *             <ValueMap value="student"    keyset="student"                                                />
+ *        
  *       
  *      
  *     
  *       
  *      
  *     
@@ -157,6 +159,8 @@ public class MappedAttributeDefinition extends SimpleBaseAttributeDefinition imp
        public void resolve(ResolverAttribute attribute, Principal principal, String requester, String responder,
                        Dependencies depends) throws ResolutionPlugInException {
 
        public void resolve(ResolverAttribute attribute, Principal principal, String requester, String responder,
                        Dependencies depends) throws ResolutionPlugInException {
 
+               standardProcessing(attribute);
+
                // Resolve all dependencies to arrive at the source values (unformatted)
                Collection results = resolveDependencies(attribute, principal, requester, depends);
 
                // Resolve all dependencies to arrive at the source values (unformatted)
                Collection results = resolveDependencies(attribute, principal, requester, depends);
 
@@ -291,4 +295,4 @@ public class MappedAttributeDefinition extends SimpleBaseAttributeDefinition imp
                        valueSet.add(value);
                }
        }
                        valueSet.add(value);
                }
        }
-}
+}
\ No newline at end of file