Spring Security 3.0 and Active Directory LDAP: DOMAIN\user login

Posted by Bernd Haug on Stack Overflow See other posts from Stack Overflow or by Bernd Haug
Published on 2010-03-29T09:01:21Z Indexed on 2010/03/29 9:03 UTC
Read the original article Hit count: 515

I would like to have users authenticate against an ActiveDirectory LDAP server using the DOMAIN\user.name syntax. I think that should be possible with SpringSec 3.0 since the docs mention an "alternative syntax" which I guess refers to the DOM\user syntax instead of a bind DN, but the docs don't elaborate further.

Is there some way to configure Spring Sec 3 LDAP to use "the MS way" or do I have to write my own Authenticator implementation (against e.g. the java.naming.directory package, which I've tested to be able to use the MS syntax as its SECURITY_PRINCIPAL)?

© Stack Overflow or respective owner

Related posts about spring

Related posts about spring-security