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 ta...@apache.org on 2007/10/31 18:26:55 UTC

svn commit: r590759 - /portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java

Author: taylor
Date: Wed Oct 31 10:26:55 2007
New Revision: 590759

URL: http://svn.apache.org/viewvc?rev=590759&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-797

found this one while cleaning up docs
uid shouldn't be hard coded as its not always the attribute name

Modified:
    portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java

Modified: portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java?rev=590759&r1=590758&r2=590759&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java (original)
+++ portals/jetspeed-2/trunk/components/jetspeed-security/src/main/java/org/apache/jetspeed/security/spi/impl/ldap/LdapMemberShipDaoImpl.java Wed Oct 31 10:26:55 2007
@@ -482,8 +482,9 @@
 		return getUserAttributes();
 	}
 
-	protected String getEntryPrefix() {
-		return "uid";
+	protected String getEntryPrefix() 
+    {
+        return this.getUidAttribute();
 	}
 
 	protected String getSearchSuffix() {



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