开发者

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

开发者 https://www.devze.com 2022-12-24 06:09 出处:网络
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 alternat

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 impleme开发者_JAVA百科ntation (against e.g. the java.naming.directory package, which I've tested to be able to use the MS syntax as its SECURITY_PRINCIPAL)?


Use Spring Security 3.1, it has built-in support for binding against AD.

0

精彩评论

暂无评论...
验证码 换一张
取 消