roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh Jain (JIRA)" <nore...@atlassian.com>
Subject [Roller-JIRA] Created: (ROL-1581) CustomUserRegistry uses fullName for emailAddress
Date Tue, 23 Oct 2007 05:37:22 GMT
CustomUserRegistry uses fullName for emailAddress
-------------------------------------------------

                 Key: ROL-1581
                 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1581
             Project: Roller
          Issue Type: Bug
          Components: Authentication, Roles and Access Controls
    Affects Versions: 3.1
         Environment: All
            Reporter: Rakesh Jain
            Assignee: Roller Unassigned


org.apache.roller.ui.core.security.CustomUserRegistry class has a method getUserDetailsFromAuthentication(),
which sets userDetails from authentication object. While setting emailAddress, it is using
fullName, like:

      ud.setFullName(rollerDetails.getFullName());
      ud.setEmailAddress(rollerDetails.getFullName());

This simple fix is needed.

      ud.setFullName(rollerDetails.getFullName());
      ud.setEmailAddress(rollerDetails.getEmailAddress());

This will help LDAP/SSO or custom user details objects to work properly with roller.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message