什么是好的嵌入式 Java LDAP 服务器? [英] What is a good embeddable Java LDAP server?

查看:17
本文介绍了什么是好的嵌入式 Java LDAP 服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个 Java Web 应用程序,该应用程序与一些与其一起部署的其他外部应用程序集成.身份验证信息必须在所有内容之间同步,并且其他应用程序想要针对 LDAP 进行身份验证.该应用程序将部署在没有其他 LDAP 服务器可供使用的环境中;我必须提供它.到目前为止,我的解决方案是使用 Penrose Server 作为我设置的独立应用程序检查主应用程序数据库中的表并基于该表发布 LDAP.它运行良好,但最好能将某些内容嵌入到主应用程序本身中以简化部署.

I'm working on a Java web application that integrates with a few other external applications that are deployed along with it. Authentication information must be synchronized across everything and the other applications want to authenticate against LDAP. The application will be deployed in environments where there will be no other LDAP server for everything to use; I have to provide it. My solution so far has been to use Penrose Server as a standalone app, which I set up to examine tables in the main application's database and publish LDAP based on that. It works well, but it would be nice to have something that can be embedded into the main application itself to simplify deployment.

看起来 Penrose 可以嵌入,但文档可能有点参差不齐或过时(尽管它似乎正在积极开发).这可能是一个可以接受的解决方案,但如果有另一个已知在嵌入式配置中运行良好的解决方案,我可能想查看一下.

It looks like Penrose can be embedded, but the documentation can be a bit spotty or out-of-date (though it seems to be actively developed). It could be an acceptable solution, but if there is another out there that is known to work well in an embedded configuration I might want to check it out.

我还担心 Penrose 的 GPL 问题.我不能随意使用 GPL 应用程序的源代码.我不相信独立运行它是一个问题,但嵌入它可能是不行的......有人肯定知道吗?为了避免这些问题,宽松的许可证会很好.

I'm also concerned about GPL issues with Penrose. I'm not at liberty to GPL the source code for the application. I don't believe it was an issue running it standalone, but embedding it may be no-no... anybody know for sure? A permissive license would be good in order to avoid these issues.

要求:

  1. LDAP v3
  2. 必须能够在运行时更新目录内容,无论是通过编程方式还是通过其他方式,例如像 Penrose 那样与数据库同步
  3. 易于配置(在部署时无需对应用进行额外配置是理想的)

到目前为止,我已经简要介绍了 ApacheDSOpenDS 似乎是可嵌入的.

So far I've briefly looked at ApacheDS and OpenDS which seem to be embeddable.

有没有人有过这种事情的经验?

Does anyone have experience with this kind of thing?

推荐答案

你应该看看 Apache DS.我只是开始将它用作嵌入式服务器来设置 JUnit 测试.到目前为止,它运行良好,现在唯一阻止我的是我有限的 LDAP 知识.ApacheDS 看起来是一个不错的项目,我认为值得付出努力.

You should take a look at Apache DS. I just started using it as an embedded server to setup a JUnit test. It's working good so far, the only thing stopping me right now is my limited LDAP knowledge. ApacheDS looks like a decent project and I think it's worth the effort.

这篇关于什么是好的嵌入式 Java LDAP 服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆