[ 
https://issues.apache.org/jira/browse/ROL-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759914#action_12759914
 ] 

Anil Gangolli commented on ROL-1611:
------------------------------------


NOTE:  A simple workaround if you are still on an unfixed version (4.x) is to 
define 

users.sso.registry.ldap.attributes.uid=uid

explicitly in roller-custom.properties.


> CustomUserRegistry using wrong LDAP value for username
> ------------------------------------------------------
>
>                 Key: ROL-1611
>                 URL: https://issues.apache.org/jira/browse/ROL-1611
>             Project: Roller
>          Issue Type: Bug
>          Components: User Management
>            Reporter: David Johnson
>            Assignee: Anil Gangolli
>            Priority: Minor
>             Fix For: 5.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to