OrientDB默认的OLDAPImporter类丢失了吗?

时间:2016-06-29 16:32:30

标签: orientdb

我正在使用OrientDB社区2.2.3 GA,在阅读了自2.2.x版(http://orientdb.com/docs/last/Security-OrientDB-New-Security-Features.html)以来引入的OrientDB的一些新安全功能之后,我一直在尝试测试新的LDAPImporter

我使用“ldapImporter”配置设置更新了security.json文件,遵循安全配置文档中提供的示例(我的声誉不允许我发布链接,但您可以点击“安全性”配置“从上面的链接到视图”。

当我立即启动OrientDB服务器时,我得到一个异常,即找不到OLDAPImporter类。

2016-06-28 15:25:16:572 INFO  OSystemUserAuthenticator is active [OSystemUserAuthenticator]ODefaultServerSecurity.getClass() Throwable:
java.lang.ClassNotFoundException: com.orientechnologies.security.ldap.OLDAPImporter
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at com.orientechnologies.orient.server.security.ODefaultServerSecurity.getClass(ODefaultServerSecurity.java:129)

    at com.orientechnologies.orient.server.security.ODefaultServerSecurity.reloadImportLDAP(ODefaultServerSecurity.java:959)
    at com.orientechnologies.orient.server.security.ODefaultServerSecurity.loadComponents(ODefaultServerSecurity.java:751)
    at com.orientechnologies.orient.server.security.ODefaultServerSecurity.onAfterActivate(ODefaultServerSecurity.java:673)
    at com.orientechnologies.orient.server.OServer.activate(OServer.java:392)
    at com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)

2016-06-28 15:25:16:587 SEVER ODefaultServerSecurity.reloadImportLDAP() ImportLDAP class property is missing [ODefaultServerSecurity]
2016-06-28 15:25:16:587 INFO  OrientDB Server is active v2.2.3 (build 2.2.x@r2f229613abac00036c2fa1b59ab5d1e8a882d6de; 2016-06-20 06:46:10+0000). [OServer]

当我检查orientdb-core-2.2.3.jar的内容时,我没有看到定义OLDAPImporter类的java文件。此外,看看GitHub上的2.2.x分支,我也找不到该类的源文件(再次,我目前的声誉不允许我发布每个帖子超过1个链接,但我在这里看:... ./orientechnologies/orientdb/tree/2.2.x/core/src/main/java/com/orientechnologies/orient/core/security)。

文档让我相信这个功能已经完全实现了,所以我想我只是完全错过了一些明显的东西。谢谢!

1 个答案:

答案 0 :(得分:2)

您好Oldap导入器不与社区版捆绑在一起。

你可以从这里编译

https://github.com/orientechnologies/orientdb-security

并在lib文件夹中安装jar

或者您可以在此处下载包含该功能的企业版。

http://orientdb.com/orientdb-enterprise