> I use this sintax to have autologin with all browser:
>
[quoted text clipped - 6 lines]
> There is an other method to perform autologin of browser?
> Is it possible with set headers in http protol?
Yes. This works for me:
someURLConnection.setRequestProperty("Authorization", "Basic "+xxx);
where xxx is username:password encoded as base 64. For example, if the
username is "test" and the password is "test123", then
s.setRequestProperty("Authorization", "Basic dGVzdDp0ZXN0MTIz");
--Mike Amling
slc - 10 Mar 2004 08:58 GMT
>> I use this sintax to have autologin with all browser:
>>
[quoted text clipped - 17 lines]
>
>--Mike Amling
I tried to use Authorization or WWW-Autenticate headers, but
WWW-Autenticate open browser prompt to input userid and password,
Authorization isn't good because i use a redirect of page into
browser and so must be browser to perform request with Authorization
and no my java code.
There are two web application:
1) My web application in jsp
2) An other web application with method autentication (userid and
passowrd are inserted not by form but by prompt of browser) e script
code unknow (should be lotus domino with server ldap)
I know userid e password and i must redirect browser from my
application in this other application without browser prompt userid
and password.
Also i have looking for a cookie where browser store Authorization
data and send into request for this domain. But i dont' find anything!
So i think that this data are stored in internal cache of Browser.
It's possibile to use ldap server to perform a single sign beetwen my
web application and the other application even if it use browser
authentication and user are store in ldap server?
Thanks