IntelliJ idea 中的 Weblogic 运行 配置 - 禁用基本身份验证

Weblogic run configuration in IntelliJ idea - disable basic authentication

我需要在 weblogic 服务器上禁用基本身份验证,这可以通过将 <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials> 添加到 weblogic 域中的 config.xml 来完成。 我直接从 IntelliJ Idea 将 Web 服务部署到 weblogic,每次我开始部署时,config.xml 都会被一个新的替换,所以我无法手动更改配置。我想我需要在 IntelliJ 的 运行 配置中传递一些额外的参数。有没有人有这方面的经验?

这是我的错误。我试图修改 config.xml,却忘了我的服务器仍然是 运行。根据 this 页面,我认为很明显为什么会发生这种情况。所以,它与IntelliJ Idea无关。

Caution: Do not edit configuration files for a domain that is currently running. Because Oracle WebLogic Server rewrites the files periodically, your changes will be lost. Depending on your platform, you also could cause Oracle WebLogic Server failures.