hi all
plz tell how we can authenticate users from server
i want to read a private file from server
my inputs are :
url of the private file :
username:
password:
Authenticator.setDefault(new Authenticator()
// {
// protected PasswordAuthentication getPasswordAuthentication(){
// return new PasswordAuthentication("username","password".toCha rArray());
// }});
but server is not autheticate these
thanks
