Is it possible to connect ldap server directly to Android phone?(是否可以将 ldap 服务器直接连接到 Android 手机?)
问题描述
我需要从 Linux 上运行的 LDAP 服务器获取联系人列表.是否有任何 android 代码或意图直接访问 ldap 内容,或者我们应该只使用 Web 服务访问 ldap?我尝试在上网,但在任何网站上都没有找到合适的解决方案.
I need to get the contact list from the LDAP Server running on Linux.Is it there any android code or intent to access the ldap contents directly or we should only use the web services to access the ldap?I tried searching on the internet but no proper solution was found in any website.
推荐答案
DanielWeisser 已经这样做了.该项目在 GIT 上,如果您允许凭据,则可以修改源代码.https://github.com/weisserd/LDAP-Sync
DanielWeisser already did that. The project is on GIT, you can modify source if you let the credentials. https://github.com/weisserd/LDAP-Sync
他使用 UnboundID LDAP Librairy 来实现这一点.
He used the UnboundID LDAP Librairy to make this.
祝你好运.
这篇关于是否可以将 ldap 服务器直接连接到 Android 手机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:是否可以将 ldap 服务器直接连接到 Android 手机?
基础教程推荐
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
