Quantcast

Display name when using LDAP authentication

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Display name when using LDAP authentication

Yves
Hi,

I've setup LDAP authentication which works fine. The only issue I have is that only the user id is properly populated. Instead of populating the name with e.g. the displayName attribute from the LDAP object, the user id is copied over to the name. Apparently there is no UserNameResolver available for LDAP. So I've created a plugin implementing this extension point but it's never invoked when authenticating with LDAP. IMHO the plugin/extension is properly implemented and installed. Why is this extension point not being invoked?

-
Yves
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Display name when using LDAP authentication

Yves
Anyone please?

-
Yves

On 11.08.2012 15:27, Yves wrote:

> Hi,
>
> I've setup LDAP authentication which works fine. The only issue I have
> is that only the user id is properly populated. Instead of populating
> the name with e.g. the displayName attribute from the LDAP object, the
> user id is copied over to the name. Apparently there is no
> UserNameResolver available for LDAP. So I've created a plugin
> implementing this extension point but it's never invoked when
> authenticating with LDAP. IMHO the plugin/extension is properly
> implemented and installed. Why is this extension point not being invoked?
>
> -
> Yves

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Display name when using LDAP authentication

vlatombe
Hello Yves,

it looks like UserNameResolver is never called from anywhere (at least from core). IMO it should be called in User#get(String, boolean).

Vincent


2012/8/23 Yves Langisch <[hidden email]>
Anyone please?

-
Yves


On 11.08.2012 15:27, Yves wrote:
Hi,

I've setup LDAP authentication which works fine. The only issue I have
is that only the user id is properly populated. Instead of populating
the name with e.g. the displayName attribute from the LDAP object, the
user id is copied over to the name. Apparently there is no
UserNameResolver available for LDAP. So I've created a plugin
implementing this extension point but it's never invoked when
authenticating with LDAP. IMHO the plugin/extension is properly
implemented and installed. Why is this extension point not being invoked?

-
Yves


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Display name when using LDAP authentication

Yves
Vincent,

Yes, that's also my conclusion. That looks like a bug then.

-
Yves

On 23.08.2012 15:19, Vincent Latombe wrote:

> Hello Yves,
>
> it looks like UserNameResolver is never called from anywhere (at least
> from core). IMO it should be called in User#get(String, boolean).
>
> Vincent
>
>
> 2012/8/23 Yves Langisch <[hidden email] <mailto:[hidden email]>>
>
>     Anyone please?
>
>     -
>     Yves
>
>
>     On 11.08.2012 15:27, Yves wrote:
>
>         Hi,
>
>         I've setup LDAP authentication which works fine. The only issue
>         I have
>         is that only the user id is properly populated. Instead of
>         populating
>         the name with e.g. the displayName attribute from the LDAP
>         object, the
>         user id is copied over to the name. Apparently there is no
>         UserNameResolver available for LDAP. So I've created a plugin
>         implementing this extension point but it's never invoked when
>         authenticating with LDAP. IMHO the plugin/extension is properly
>         implemented and installed. Why is this extension point not being
>         invoked?
>
>         -
>         Yves
>
>
>

Loading...