Hi all,
I just switched to use the new LdapAuthenticationProvider instead my previous fork of the Acegi LDAP sandbox provider, and I have to say the new stuff is very sexy. Good job guys!!
However I have a need to chain providers. I need to authenticate against a Active Directory tree first then I need to query user information from a local DB.
So this is the flow I need
- Authenticate AD first
- If AD authentication works then query the DB based in username (no password here)
- If extra DB info is there for the user, authentication succeeded.
The provider manager seems to only need one provider to authenticate, not all . What would be the suggested way to handle this situation. besides extending ProviderManager?
Thanks for your help,
Tyler