Problem with SPNEGO authentication in SWT Browser using xulrunner [message #997552] |
Tue, 08 January 2013 04:20  |
Eclipse User |
|
|
|
Hi,
I'm writing an application that has a SWT browser object using xulrunner. The main URL requires SPNEGO authentication so I set up the value "network.negotiate-auth.trusted-uris" in "all.js".
pref("network.negotiate-auth.trusted-uris", "bancsabadell.com, proteo.bancsabadell.com, precanalbs.bancsabadell.com");
But this does not work, the browser displays the page authentation CAS. If I navigate to the page "about: config" I see the value of "network.negotiate-auth.trusted-uris" correctly.
Another test I've done is set the value of XULRunnerPath to the installation directory of "Firefox 3.6". This installation of Firefox has configured "network.negotiate-auth.trusted-uris" and SPNEGO authentication works correctly when run Firefox process but with the SWT browser not.
Anybody can help me?
Environment: Windows XP, Eclipse Juno and xulrunner version "3.6.26".
Thanks in advance and sorry for my bad english.
[Updated on: Wed, 16 January 2013 10:41] by Moderator
|
|
|
Re: SPNEGO authentication with the browser (xulrunner) [message #1004784 is a reply to message #997552] |
Wed, 23 January 2013 16:37  |
Eclipse User |
|
|
|
Hi David, sorry for the late response,
It's possible that the SWT Browser needs to do something to support this
case (it currently does nothing here). You can log a report for this
with SWT at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=SWT
to ensure that this request is not lost.
Grant
On 1/8/2013 8:36 AM, David Corbacho wrote:
> Hi,
>
> I'm writing an application that has a SWT browser object using
> xulrunner. The main URL requires SPNEGO authentication so I set up the
> value "network.negotiate-auth.trusted-uris" in "all.js".
>
> pref("network.negotiate-auth.trusted-uris", "bancsabadell.com,
> proteo.bancsabadell.com, precanalbs.bancsabadell.com");
>
>
> But this does not work, the browser displays the page authentation CAS.
> If I navigate to the page "about: config" I see the value of
> "network.negotiate-auth.trusted-uris" correctly.
>
> Another test I've done is set the value of XULRunnerPath to the
> installation directory of "Firefox 3.6". This installation of Firefox
> has configured "network.negotiate-auth.trusted-uris" and SPNEGO
> authentication works correctly when run Firefox process but with the SWT
> browser not.
>
> Anybody can help me?
>
> Environment: Eclipse Juno and xulrunner version "3.6.26".
>
> Thanks in advance and sorry for my bad english.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06577 seconds