portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r702171 - /portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java
Date Mon, 06 Oct 2008 14:44:49 GMT
Author: ddam
Date: Mon Oct  6 07:44:49 2008
New Revision: 702171

URL: http://svn.apache.org/viewvc?rev=702171&view=rev
Log:
fix bug in Entity factory method

Modified:
    portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java

Modified: portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java?rev=702171&r1=702170&r2=702171&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java
(original)
+++ portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java
Mon Oct  6 07:44:49 2008
@@ -75,7 +75,9 @@
             if (sa != null)
             {
                 // currently only single-valued attributes are supported
-                ldapAttrValues.add(new AttributeImpl(attrDef));
+                AttributeImpl attr = new AttributeImpl(attrDef);
+                attr.setValue(sa.getStringValue());
+                ldapAttrValues.add(attr);
             }
         }
         return internalCreateEntity(principal.getName(), null, ldapAttrValues);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message