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

Cantor, Scott cantor.2 at osu.edu
Wed Apr 23 09:42:50 EDT 2014


On 4/23/14, 9:14 AM, "Vasile Alin" <alinachegalati at gmail.com> wrote:
>
>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.

I still don't understand how that isn't already handled by the JAAS
module, unless you're saying you need to filter the value entered by the
user (which has nothing to do with LDAP or which field you bind with).

-- Scott




More information about the dev mailing list