Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337104

Summary: [client] Use plugins for User Service
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, malgorzata.tomczyk, simon_kaegi, Szymon.Brandys
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Szymon Brandys CLA 2011-02-14 07:08:51 EST
We should run the User Service as a Plugin.
Comment 1 Boris Bokowski CLA 2011-02-14 08:24:52 EST
(In reply to comment #0)
> We should run the User Service as a Plugin.

I would like to know why - not everything should be a plugin because we can make it a plugin.
Comment 2 Malgorzata Janczarska CLA 2011-02-14 08:35:18 EST
The future idea is that we will make FileService a plugin. We need to authenticate on orion to get to file service not to get to the client, so the idea is that each FileService plugin should be provided with matching UserService plugin.
Comment 3 Szymon Brandys CLA 2011-02-14 08:44:24 EST
So far the most important data needed by File Service are authorization rules, which will be available via User Service. We need to host both services on the same site then... at least so far. If you want access User Service from your Orion client later, the only way is to do it via the Plug-ins mechanism.
Comment 4 Szymon Brandys CLA 2011-02-14 11:08:16 EST
See also Bug 337104.
Comment 5 Szymon Brandys CLA 2011-02-14 11:10:33 EST
(In reply to comment #4)
> See also Bug 337104.
Sorry. I meant Bug 336188.
Comment 6 Malgorzata Janczarska CLA 2011-02-16 12:00:41 EST
Created attachment 189118 [details]
mylyn/context/zip

I committed the first version. Only user profile uses it now. I used event notifications as an alternative to callback functions. Unfortunatly I didn't manage to solve the problem of authentication (and other error handling done by handleAuthenticationError), so profile works only when you are logged in.
Comment 7 Malgorzata Janczarska CLA 2011-03-09 08:11:46 EST
Done