且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Apache Camel HTTPS4基本身份验证

更新时间:2023-12-01 08:12:16

通过一个工作示例帮助其他人,以下是我如何得到它...

To help others with an working example, here is how I got it...

1)检查站点管理员策略并确保用户拥有对服务的正确权限。
2)传递用户/密码作为查询参数是不安全的(至少在我的情况下不是这样)明文密码在site-minder中公开。
3)设置标题(授权)
apache-camel-basic-http-auth

1) Check the site-minder policy and also ensure the user have correct permissions for the services. 2) Passing user/password as query parameter isn't safe (at least it wasn't in my case) Clear text password was exposed in site-minder. 3) setting header (Authorization) apache-camel-basic-http-auth