Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-reviews-dev] openID login

Hi,

I took a look at the Gerrit connector OpenID authentication implementation and I'm not sure that it's suitable to be reused in other contexts. The code is in GerritRepositoryLocationUi and GerritHttpClient.authenticateOpenIdService() and besides the UI (browser popup) the implementation is Gerrit specific. All the OpenID specific bits are handled on the Gerrit server so I'm afraid we don't have the protocol implementation piece in Mylyn which is what you are probably looking for.

You may be able to reuse some of the UI code but it's not much anyways. At least GerritRepositoryLocationUi may give you a few hints how we solved or work around browser related problems that we came across.

HTH,

Steffen
 


On Fri, Aug 30, 2013 at 5:26 AM, Dammina Sahabandu <dmsahabandu@xxxxxxxxx> wrote:
Hi All,
Currently I'm working on a project for eclipse code recommenders. There I need to create login functionality using openID. I noticed that Mylyn Gerrit Connector already uses that kind of functionality. So my plan is to reuse it. 
The thing I want is, there is a login button in a view, when a user clicks on it I need to pop up this window [1]. Currently I'm stuck at this point. So if anyone can help me it would be really great.


--
Dammina Sahabandu.
Undergraduate Department of Computer Science and Engineering
University of Moratuwa
Sri Lanka.

_______________________________________________
mylyn-reviews-dev mailing list
mylyn-reviews-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-reviews-dev




--
Steffen Pingel
Principal Software Engineer, Eclipse Mylyn
Mylyn Tasks Lead
http://tasktop.com

Back to the top