Get the Spring Context or a Spring bean inside the JAAS LdapLoginModule

Cantor, Scott cantor.2 at osu.edu
Wed Apr 23 08:39:34 EDT 2014


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




More information about the dev mailing list