简体   繁体   中英

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

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 eg the java.naming.directory package, which I've tested to be able to use the MS syntax as its SECURITY_PRINCIPAL)?

使用Spring Security 3.1,它内置了对AD绑定的支持。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM