You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by dd...@apache.org on 2008/10/06 16:44:49 UTC
svn commit: r702171 -
/portals/jetspeed-2/portal/branches/security-refactoring/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/mapping/ldap/EntityFactoryImpl.java
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