Hello. We have succesfully been using SecurityFilter to authenticate our webapp users against Ldap for some time. Our entry in the securityfilter-config.xml file looks something like this:
We now have a requirement to authenticate users with either their username (as currently) or also their email address. So, on our login form, the user would enter their login or email address, whichever they prefer. Our Ldap server records have an attribute called 'mail' which I believe corresponds to the email address - but how do I configure SecurityFilter to do this? Is it possible?
Any help appreciated, let me know if you require more info on our existing setup. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello. We have succesfully been using SecurityFilter to authenticate our webapp users against Ldap for some time. Our entry in the securityfilter-config.xml file looks something like this:
<realm-param name="userPattern" value="uid={0},ou=BLA,dc=blala,dc=co,dc=uk"/>
We now have a requirement to authenticate users with either their username (as currently) or also their email address. So, on our login form, the user would enter their login or email address, whichever they prefer. Our Ldap server records have an attribute called 'mail' which I believe corresponds to the email address - but how do I configure SecurityFilter to do this? Is it possible?
Any help appreciated, let me know if you require more info on our existing setup. Thanks.