Get the Spring Context or a Spring bean inside the JAAS LdapLoginModule
Vasile Alin
alinachegalati at gmail.com
Wed Apr 23 09:14:31 EDT 2014
This is the scenario:
The user logs in using an email address. We have a problem with special
characters in email addresses in our LDAP server so we want to translate
transparently the email address to another field, such as uid. This will be
done by changing the JAAS context with the associated uid and use it in the
actual LDAP bind.
On 23 April 2014 15:39, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 4/23/14, 3:12 AM, "Vasile Alin" <alinachegalati at gmail.com> wrote:
>
> >We need it just before the actual login process. With this LDAP call
> >we'll change the principal login username inside the context.
>
> Why would you do that? The only advantage of using LDAP for
> authentication, which is *not* its purpose, is to do a search + bind to
> indrect the username. The module can already do that.
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to
> dev-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20140423/5afa368c/attachment.html
More information about the dev
mailing list