【问题标题】:OrientDB default OLDAPImporter class missing?OrientDB 默认 OLDAPImporter 类丢失?
【发布时间】:2016-06-29 16:32:29
【问题描述】:

我正在使用 OrientDB Community 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)。

文档让我相信该功能已完全实现,因此我认为我只是完全遗漏了一些明显的东西。谢谢!

【问题讨论】:

    标签: orientdb


    【解决方案1】:

    您好,Oldap 导入器未与社区版捆绑。

    你可以从这里编译它

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

    并将jar安装到lib文件夹中

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

    http://orientdb.com/orientdb-enterprise

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-16
      • 2016-04-02
      • 2020-01-09
      • 2012-11-11
      • 1970-01-01
      • 2017-07-31
      • 2015-09-10
      • 1970-01-01
      相关资源
      最近更新 更多