我想要删除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服务器。并希望执行基于组的操作。
发布于 2020-12-12 02:10:08
你看,任务服务在kie中是一个单独的模块。从这个意义上说,明智的做法是创建一个autologin,然后追逐所有继承身份验证的位置。
https://stackoverflow.com/questions/65180633
复制相似问题