Hi,

I need to work with web service with http basic authentication in Mozilla. On call.invoke() I get standart login dialog for entering login and password. I can hide it by writing next code before call.invoke():

var endPoint = "http://localhost:8080/wsapp/services/SecureHelloWorldService";;
var httpRequest = new XMLHttpRequest();
httpRequest.open('GET', endPoint, false, 'webdeveloper', 'webpassword');
httpRequest.send(null);


But I have next problems in this case:

1. I get standart login dialog instead of error in JavaScript if I use not existing user or password
2. I can't enter as another user without restarting Mozilla


What can I do?
_______________________________________________
Mozilla-security mailing list
Mozilla-security@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-security

Reply via email to