Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » authentication
authentication [message #1791051] Fri, 22 June 2018 08:46 Go to next message
M.Wirth Mising name is currently offline M.Wirth Mising nameFriend
Messages: 1
Registered: July 2009
Junior Member
In a pure e4 application I want to do p2 updates with authentication.
I have setup a web server which hosts a p2-updatesite with authentication. If I visit the url with a webbrowser I get a login dialog. If I visit the updatesite with the eclipse standard "Repository Explorer" View a LoginDialog (org.eclipse.equinox.internal.p2.ui.dialogs.UserValidationDialog) is shown.

So I wanted to add the plugin org.eclipse.equinox.p2.ui to my e4 rcp application in the hope that the dialog will be shown automatically. But this plugin has a dependency to org.eclipse.ui (which should not be used in a pure e4 application, afaik).

How is it possible to do p2 updates for a pure e4 application with authentication (even better over https)?

Best regards,
Michael
Re: authentication [message #1792050 is a reply to message #1791051] Tue, 10 July 2018 14:01 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 772
Registered: January 2012
Senior Member

p2 uses the OSGi Services mechanism to find services. You'll want to provide an implementation of the org.eclipse.equinox.p2.core.UIServices;

Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Previous Topic:Bundling JRE in a feature
Next Topic:Download eclipse plugins from update site with out eclipse command line
Goto Forum:
  


Current Time: Fri Sep 21 08:13:29 GMT 2018

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

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

Back to the top