java使用ldap读取ad域数据实现域登录以及同步
最近想要实现域组织账户同步以及域账户登录的功能,组织账户信息存放在ldap服务器中,要同步到本地数据库。对数据进行登录验证。talk is cheap,show me the code.首先验证账户是否可以登录:private final String FACTORY = "com.sun.jndi.ldap.LdapCtxFactory"; public static...
原创
2019-01-07 10:25:20 ·
8230 阅读 ·
1 评论