舊版 反向連結 目錄表 Support sAM-Account-Name of AD Provider Introduction Reference 這是本文件的舊版! ldap, spring, spring-ldap, spring-security Support sAM-Account-Name of AD Provider Introduction Windows Active Directory提供User Principle Name(簡稱UPN)與SAM Account Name(簡稱SAM)兩種登入方式: 然而ActiveDirectoryLdapAuthenticationProvider僅支援UPN的驗證方式。因此本篇文章主要告訴大家如何支援SAM驗證方式。 Reference SAM-Account-Name attribute Github - ActiveDirectoryLdapAuthenticationProvider.java View the discussion thread.