我正在努力为我的应用程序的登录功能集成 azure ad。 身份验证成功后,Azure 会将访问令牌返回到提到的重定向 URL。 问题是我在重定向时收到"此 URL 不支持 HTTP 方法 POST"。
这就是重定向 URL 的外观。
https://bbb-dev-ext.abcde.com/myapp.dashboard/azureLogin.html?
我们用于我的应用程序的 Web 服务器是 Wildfly 11
尝试在我的网络中添加以下内容.xml仍然不起作用
<security-constraint>
<display-name>Example Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/azureLogin.html*</url-pattern>
<http-method>GET</http-method>
</web-resource-collection>
</security-constraint>
有没有其他方法可以将我的请求 http 方法类型从 POST 更改为 GET? 或者有没有办法在野蝇应用程序中允许 HTTP 方法类型 POST?
我在将 html 转换为 jsp 文件后使其工作。 看起来在处理对 html 页面的 POST 请求时有一些 Jboss
。