Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直无法找到有关此问题的资源。我有 URL 和用户/密码。
请帮忙。
查看 JNDI 教程。简而言之,您将 Principal 和 Credentials 放入环境哈希中,并通过“绑定”操作将其传递给服务器以创建上下文。
http://docs.oracle.com/javase/jndi/tutorial/ldap/security/ldap.html