ssh - Drools Workbench通过SSH访问存储库

标签 ssh drools drools-guvnor kie-workbench

我们在Windows 2012的Tomcat 7服务器上安装了KIE WB 6.1.0,并创建了一些用户。这些用户可以登录到Workbench并在存储库中和内部进行工作。

如果尝试从另一台计算机克隆该存储库,则只会收到身份验证错误:

mb-itmsan01:temp ds$ git clone ssh://admin@192.168.150.34:8001/TestRep
Cloning into 'TestRep'...
Password authentication
Password:
Password authentication
Password:
Password authentication
Password:
admin@192.168.150.34's password:
Permission denied, please try again.
admin@192.168.150.34's password:
Permission denied, please try again.
admin@192.168.150.34's password:
Permission denied (password,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我确信用户名和密码的组合是正确的...

我是否缺少某些东西,例如用户角色还是一些配置?我添加了该用户手册中描述的所有角色,但仍然没有成功。

最佳答案

我发现了如何解决此问题:
它已在6.2.x中修复(当前仅在Beta状态下可用)。如果要在Tomcat 7上解决Drools WB 6.1.x中的问题,只需将WEB-INF/classes/login.config文件中的内容替换为以下内容:

ApplicationRealm {
  org.apache.catalina.realm.JAASMemoryLoginModule REQUIRED debug=true;
};

在github上的相应提交是:

https://github.com/droolsjbpm/kie-wb-distributions/commit/e53c0c36686822fc17ad5e8aceab39f1de4fb844

之后,可以使用tomcat-users.xml中定义的凭据通过SSH访问Git存储库。

关于ssh - Drools Workbench通过SSH访问存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26118850/

相关文章:

Drools 工作台(业务中心)请求超时

linux - Cloudera Manager 认证失败 : Exhausted available authentication methods

.net - Drools.NET与Windows Workflow Foundation(WF)

linux - 在 ssh 中取消设置 SendEnv 选项

java - 如何在 DSL 中动态更改运营商以应对流口水

java - drools 执行服务器中 XMLGregorianCalendarImpl 的 Xstream ConversionException

jboss - 在网页中嵌入 Guvnor 的 BRL 引导编辑器

java - 如何部署一个简单的Drools应用程序?

ruby-on-rails - 未找到将 rails 应用程序部署到 digital ocean dokku ssh key

linux - 无法发出方法调用 : Unit squid. 服务无法加载:没有这样的文件或目录