Yes, that should work. You may want to set the
preemptive authentication flag on the method, to
avoid an "authentication required" response for
the initial request.

cheers,
  Roland





"martin hilpert" <[EMAIL PROTECTED]>
18.03.2004 13:34
Please respond to "Commons HttpClient Project"
 
        To:     "Commons HttpClient Project" 
<[EMAIL PROTECTED]>
        cc: 
        Subject:        Anmelden am Server


Hallo Roland,

nun mal auf deutsch weil mein englisch an seine grenzen kommt.

mit
"client.getState().setCredentials(null,null, new
UsernamePasswordCredentials(Name,Password));"

sollte das doch gehen oder?

was ich will ist, mich an einen websever(linux), der mit .htaccess -datei
geschützt ist anmelden.

gruß martin



---------------------------------------------------------------------
To unsubscribe, e-mail: 
[EMAIL PROTECTED]
For additional commands, e-mail: 
[EMAIL PROTECTED]


Reply via email to