Siteminder 身份验证和 Android

发布于 2024-12-12 11:29:10 字数 273 浏览 5 评论 0原文

我正在尝试连接到受 SiteMinder 保护的资源。最终,该应用程序将出现在 PhoneGap 中,但目前,我只是测试基本通信。当我请求资源时,SiteMinder 会拦截该请求并显示登录屏幕。发布用户名和密码后,我可以在 WireShark 跟踪中看到 siteminder 确实发出带有 SMSession 值的 set-cookie 标头,但来自 Android 模拟器的下一个请求不包含 cookie。

相同的代码/环境在桌面浏览器上运行良好。 Android 接受的 cookie 大小或格式是否有限制?

I'm attempting to connect to a resource that's protected by SiteMinder. Eventually, the app will be in PhoneGap, but for now, I'm just testing the basic communication. When I request the resource, SiteMinder intercepts the request and presents a login screen. After posting the username and password, I can see in a WireShark trace that siteminder does issue a set-cookie header with an SMSession value, but the next request from Android Emulator does not include the cookie.

The same code / environment works fine from a desktop browser. Is there a limit on the cookie size or format that is accepted by Android?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

脸赞 2024-12-19 11:29:10

你是在android浏览器上测试这个吗? Android 浏览器接受的 cookie 不应有任何限制。您是否尝试过进入浏览器设置并确保启用了所有接受 cookie 的正确设置?

are you testing this from the android browser? there shouldn't be any limitations to the cookies that the android browser will accept. Have you tried going into the browser settings and ensuring that all the right settings to accept cookies are enabled?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文