Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jboss 如何删除jbpm kie服务器的身份验证_Jboss_Jbpm_Bpmn_Kie Server - Fatal编程技术网

Jboss 如何删除jbpm kie服务器的身份验证

Jboss 如何删除jbpm kie服务器的身份验证,jboss,jbpm,bpmn,kie-server,Jboss,Jbpm,Bpmn,Kie Server,我想删除kie服务器的用户身份验证。为此,我尝试从web.xml文件中删除下面提到的配置 <security-constraint> <web-resource-collection> <web-resource-name>REST web resources</web-resource-name> <url-pattern>/services/rest/*</url-pattern>

我想删除kie服务器的用户身份验证。为此,我尝试从
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>

RESTWeb资源
/服务/休息/*
得到
放
邮递
删除
kie服务器
用户
//从上面的配置中删除了此部分
kie服务器
用户

基本的
KIE服务器
现在服务器正在启动,但无法看到任务/索赔/启动/完成任务


那么我应该在哪里修改配置,这样我就可以不用登录就可以使用kie服务器了。并且希望基于组执行操作。

您可以看到,任务服务在kie中是一个单独的模块。从这个意义上讲,明智的做法是创建一个autologin,然后追踪所有继承身份验证的位置

//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>