Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem with SPNEGO authentication in SWT Browser using xulrunner
Problem with SPNEGO authentication in SWT Browser using xulrunner [message #997552] Tue, 08 January 2013 09:20 Go to next message
David Corbacho is currently offline David CorbachoFriend
Messages: 1
Registered: January 2013
Junior Member
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 15:41]

Report message to a moderator

Re: SPNEGO authentication with the browser (xulrunner) [message #1004784 is a reply to message #997552] Wed, 23 January 2013 21:37 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
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.
>
>
Previous Topic:Dynamic design
Next Topic:Windows 7 issues
Goto Forum:
  


Current Time: Fri Dec 19 10:49:25 GMT 2014

Powered by FUDForum. Page generated in 0.03085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software