[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wtp-dev] Help with ProxyAuthenticator
|
Jenny,
IIRC is the ProxyAuthenticator an OSGI service that is contributed by
org.eclipse.core.net (or org.eclipse.ui.net).
So, to be on the safe side you should make sure that this service is
not loaded and contribute your own service. But I'm pretty sure this
has consequences you won't like, because other plug-ins depend on the
org.eclipse.*.net plug-ins. Not a way I'd recommend to go.
You might have a look at the extension point
org.eclipse.core.net.authenticator. Maybe you find what you need, there.
Best regards,
Matthias
On May 9, 2008, at 5:57 AM, hunnieshark wrote:
Matthias,
Thank you for your reply. I see from the bug report's comments that
the solution to this problem would be creating my own Authenticator
and set it using Authenticator.setDefault(). However, I'm wondering
what happens if the internet plugin accesses the internet and
expects the ProxyAuthenticator to be there. Does it switch back in
the ProxyAuthenticator if the Authenticator is not what it expected,
and if so, does it reset the default Authenticator to my
Authenticator when it's done? I tried downloading the source code
using the .map file, but was not able to.
Many thanks,
Jenny
--- On Thu, 5/8/08, Matthias Kempka <mkempka@xxxxxxxxxxxxxx> wrote:
From: Matthias Kempka <mkempka@xxxxxxxxxxxxxx>
Subject: Re: [wtp-dev] Help with ProxyAuthenticator
To: hunnieshark@xxxxxxxxx, "General discussion of project-wide or
architectural issues." <wtp-dev@xxxxxxxxxxx>
Date: Thursday, May 8, 2008, 1:49 AM
Jenny,
You may want to have a look at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=196780
Regards,
Matthias
On May 8, 2008, at 7:36 AM, hunnieshark wrote:
Hi,
I am new to WTP and seeking for a pointer in the right
direction for
solving my current problem. I am developing a feature
which allows
users to access web pages from within Eclipse. If
access to a page
requires basic authentication, a popup dialog will
show and prompt
users for the username and password. I am aware that
the
InternetPlugin has a ProxyAuthenticator which also
prompts users for
the username and password. However, I would like to
use my own way
to prompt users for the information because there are
additional
handlings (e.g. I would like to save the username and
password so
that users can edit them later). Other parts of my
application uses
WTP, and the Internet plugin is in an internal
package. It seems I
cannot swap the ProxyAuthenticator in and out. The
version of WTP I
am using is 1.5.0.
Any help is deeply appreciated.
Jenny
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev
--
Dipl.-Inform. Matthias Kempka
Innoopract Informationssysteme GmbH
mkempka@xxxxxxxxxxxxxx
Tel: 0721 - 66 47 33 - 0
Fax: 0721 - 66 47 33 29
========================= Legal Disclaimer
=====================
According to Section 80 of the German Corporation Act
Innoopract Informationssysteme GmbH must indicate the
following
information:
Address: Stephanienstrasse 20, 76133 Karlsruhe Germany
General Manager: Jochen Krause, Eric von der Heyden
Registered Office: Karlsruhe, Commercial Register Karlsruhe
HRB 7883
============================================================
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
Dipl.-Inform. Matthias Kempka
Innoopract Informationssysteme GmbH
mkempka@xxxxxxxxxxxxxx
Tel: 0721 - 66 47 33 - 0
Fax: 0721 - 66 47 33 29
========================= Legal Disclaimer =====================
According to Section 80 of the German Corporation Act
Innoopract Informationssysteme GmbH must indicate the following
information:
Address: Stephanienstrasse 20, 76133 Karlsruhe Germany
General Manager: Jochen Krause, Eric von der Heyden
Registered Office: Karlsruhe, Commercial Register Karlsruhe HRB 7883
============================================================