09-30-2009 02:52 PM
I'm trying to use the MDS simulator to test with the smartphone simulator, but connect to external web pages. I found the "http://www.blackberry.com/knowledgecenterpublic/li
application.handler.http.logging = true
application.handler.http.CookieSupport = true
application.handler.http.AuthenticationSupport = true
application.handler.http.AuthenticationTimeout = 3600000
application.handler.http.device.connection.timeout = 120000
application.handler.http.server.connection.timeout = 120000
application.handler.http.proxyEnabled = true
application.handler.http.proxyAutoConfig = false
This wouldn't really be a big problem, except that my proxy doesn't accept a "domain". If I type anything in the domain field, I can see by sniffing outbound traffic that the MDS simulator is trying to to Basic Authentication with the Base64-encoded "domain\usernameassword".
(e.g.: Proxy-Authorization: Basic ZG9tYWluXHVzZXJuYW1lOnBhc3N3b3Jk)
If I leave the domain blank, it still base64-encodes: "\usernameassword" which is rejected by my proxy server - what I really need to supply is "usernameassword" with no domain, and no leading backslash.
I would have figured that the "application.handler.http.proxyUser/proxyPass" would have done this automatically, but they didn't (sniffig my HTTP traffic, it appears that the MDS simulator is trying to use these to do NTLM authentication, which my proxy server doesn't support).
Any suggestions? Thanks.