它表示从BlackBerry Enterprise Server 4.1.7开始,您可以添加x-rim-authentication-passthrough标头以绕过每个请求的MDS HTTP身份验证。
有人可以告诉我为这个标题设置哪个值?到目前为止,我没有做过的疯狂猜测是:
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "true");
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "enabled");
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "");
//httpConn.setRequestProperty("x-rim-authentication", "passthrough");
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "arghhh");
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "where the hell is the documentation?");
//httpConn.setRequestProperty("x-rim-authentication-passthrough", "put the lime in the coconut");
谢谢,
雷
答案 0 :(得分:0)
正确答案是:
httpConn.setRequestProperty("x-rim-authentication-passthrough", "true");
第一次我一定搞砸了。我从未找到过文档,我从RIM的某个人那里得到了答案。