Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337104 - [client] Use plugins for User Service
Summary: [client] Use plugins for User Service
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 07:08 EST by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
4 users (show)

See Also:


Attachments
mylyn/context/zip (864 bytes, application/octet-stream)
2011-02-16 12:00 EST, Malgorzata Janczarska CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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