CustomUserRegistry using wrong LDAP value for username
------------------------------------------------------
Key: ROL-1611
URL:
http://opensource.atlassian.com/projects/roller/browse/ROL-1611
Project: Roller
Issue Type: Bug
Components: User Management
Reporter: David Johnson
Assignee: Roller Unassigned
Priority: Minor
Fix For: 4.1
>From Shing Wai Chan:
Around line 88 of CustomUserRegistry.java, we have
// Try to get SSO data from HttpServletRequest
userName = getRequestAttribute(request,
WebloggerConfig.getProperty(
UID_LDAP_PROPERTY, DEFAULT_SNAME_LDAP_ATTRIBUTE));
I think there is a typo here.
It should be
// Try to get SSO data from HttpServletRequest
userName = getRequestAttribute(request,
WebloggerConfig.getProperty(
UID_LDAP_PROPERTY, DEFAULT_UID_LDAP_ATTRIBUTE));
Note that we should have DEFAULT_UID_LDAP_ATTRIBUTE rather than
DEFAULT_SNAME_LDAP_ATTRIBUTE.
--
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