You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Rakesh Jain (JIRA)" <no...@atlassian.com> on 2007/10/23 07:37:22 UTC

[Roller-JIRA] Created: (ROL-1581) CustomUserRegistry uses fullName for emailAddress

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