Posted By:
James_Bayer
Posted On:
Wednesday, February 26, 2003 01:42 PM
if you already have captured the user name and password (via web form, applet params, or awt etc.) you can use something like this:
Authenticator.setDefault(
new Authenticator()
{
protected PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication( strUser, strPassword.toCharArray() );
}
});