jboss - 如何删除 jbpm kie-server 的身份验证
问题描述
我想删除 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 服务器。并希望基于组执行操作。
解决方案
你看,任务服务是 kie 中的一个独立模块。从这个意义上说,明智的做法是进行自动登录,然后追逐所有继承身份验证的地方。
推荐阅读
- azure-cognitive-search - 将文章文本与预先存在的类别列表匹配
- reactjs - React.createElement:类型无效 - 需要一个字符串(对于内置组件)或一个类/函数(对于复合组件)但未定义
- web-scraping - 是否可以从子链接中抓取数据并使用scrapy返回主链接?或者有什么我可以使用的工具
- c++ - 异常处理程序中的运算符 << 不匹配
- flutter - 如何在颤动中为平板电脑制作不同的布局
- java - Android Studio -- 无法应用插件 [id 'appengine']
- php - Laravel kreait/laravel-firebase 无效的服务帐户规范
- python - 无法加载动态库“cupti64_101.dll”;dlerror: cupti64_101.dll 未找到
- html - 为什么这个 div 在这里创建换行符?
- flutter - 使用 webviews 跨 2 个页面的英雄转换 - Flutter