Push SAML Attribute namespace configuration into the resolver. (Needed for proper...
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / aa / attrresolv / provider / SimpleBaseAttributeDefinition.java
index 1af1188..04f4de8 100644 (file)
@@ -24,7 +24,7 @@
  */
 
 /*
- * Contributed by SungGard SCT.
+ * Contributed by SunGard SCT.
  */
 
 package edu.internet2.middleware.shibboleth.aa.attrresolv.provider;
@@ -110,6 +110,7 @@ abstract class SimpleBaseAttributeDefinition extends BaseAttributeDefinition imp
                        Dependencies depends) throws ResolutionPlugInException {
 
                log.debug("Resolving attribute: (" + getId() + ")");
+
                Set results = new LinkedHashSet();
                if (!connectorDependencyIds.isEmpty()) {
                        results.addAll(Arrays.asList(getValuesFromConnectors(depends)));
@@ -119,10 +120,6 @@ abstract class SimpleBaseAttributeDefinition extends BaseAttributeDefinition imp
                        results.addAll(Arrays.asList(getValuesFromAttributes(depends)));
                }
 
-               if (lifeTime != -1) {
-                       attribute.setLifetime(lifeTime);
-               }
-
                if (valueHandler != null) {
                        attribute.registerValueHandler(valueHandler);
                }
@@ -196,4 +193,4 @@ abstract class SimpleBaseAttributeDefinition extends BaseAttributeDefinition imp
                return value.toString();
        }
 
-}
+}
\ No newline at end of file