Siteminder 身份验证和 Android
我正在尝试连接到受 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是在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?