roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gango...@apache.org
Subject svn commit: r819155 - /roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java
Date Sat, 26 Sep 2009 15:34:18 GMT
Author: gangolli
Date: Sat Sep 26 15:34:18 2009
New Revision: 819155

URL: http://svn.apache.org/viewvc?rev=819155&view=rev
Log:
Fix for ROL-1611.  Use proper default for UID attribute.

Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java?rev=819155&r1=819154&r2=819155&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/ui/core/security/CustomUserRegistry.java
Sat Sep 26 15:34:18 2009
@@ -85,7 +85,7 @@
 
         if(authentication == null) {
             // Try to get SSO data from HttpServletRequest
-            userName = getRequestAttribute(request, WebloggerConfig.getProperty(UID_LDAP_PROPERTY,
DEFAULT_SNAME_LDAP_ATTRIBUTE));
+            userName = getRequestAttribute(request, WebloggerConfig.getProperty(UID_LDAP_PROPERTY,
DEFAULT_UID_LDAP_ATTRIBUTE));
 
             screenName = getRequestAttribute(request, WebloggerConfig.getProperty(SNAME_LDAP_PROPERTY,
DEFAULT_SNAME_LDAP_ATTRIBUTE));
 



Mime
View raw message