【问题标题】:How to remove authentication of jbpm kie-server如何删除 jbpm kie-server 的身份验证
【发布时间】:2021-03-18 16:40:36
【问题描述】:

我想删除 kie-server 的用户身份验证。为此,我尝试从web.xml 文件中删除下面提到的配置

  <security-constraint>
    <web-resource-collection>
      <web-resource-name>REST web resources</web-resource-name>
      <url-pattern>/services/rest/*</url-pattern>
      <http-method>GET</http-method>
      <http-method>PUT</http-method>
      <http-method>POST</http-method>
      <http-method>DELETE</http-method>
    </web-resource-collection>
    <auth-constraint>
      <role-name>kie-server</role-name>
      <role-name>user</role-name>
    </auth-constraint>
  </security-constraint>
//from above config removed this portion
    <auth-constraint>
      <role-name>kie-server</role-name>
      <role-name>user</role-name>
    </auth-constraint>

  <login-config>
    <auth-method>BASIC</auth-method>
    <realm-name>KIE Server</realm-name>
  </login-config> 

现在服务器正在启动但无法看到任务/声明/启动/完成任务

那么我应该在哪里修改配置,以便我可以在不登录的情况下使用 kie-server 服务器。并希望基于组执行操作。

【问题讨论】:

    标签: jboss jbpm bpmn kie-server


    【解决方案1】:

    您看,任务服务是 kie 中的一个单独模块。从这个意义上说,明智的做法是进行自动登录,然后追逐所有继承身份验证的地方。

    【讨论】:

      猜你喜欢
      • 2012-02-08
      • 2021-06-17
      • 2022-01-19
      • 1970-01-01
      • 1970-01-01
      • 2021-02-01
      • 1970-01-01
      • 2016-05-30
      • 1970-01-01
      相关资源
      最近更新 更多