Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 418230 - [server] replace SecureStorage with our new simple metadata store
Summary: [server] replace SecureStorage with our new simple metadata store
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.0 RC1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 412995
  Show dependency tree
 
Reported: 2013-09-27 17:35 EDT by Anthony Hunter CLA
Modified: 2013-10-03 16:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Hunter CLA 2013-09-27 17:35:41 EDT
We have solved the issue of having server meta data in big files (User.pref, etc) via Bug 412995 (provide simple metadata storage).

Now that we have our simple metadata storage, we should migrate the metadata in the SecureStorage which also happens to be one big file (.metadata/.plugins/org.eclipse.orion.server.user.securestorage/user_store)

The SecureStorage stores the encrypted passwords and the profile properties for the user. This can be stored in the user.json in the SimpleMetaStore.
Comment 1 Anthony Hunter CLA 2013-09-27 17:38:07 EDT
Since the securestorage implementation is in it's own bundle, I am have created a similar org.eclipse.orion.server.user.simple bundle for:
public class SimpleUserCredentialsService implements IOrionCredentialsService
public class SimpleUserProfileService implements IOrionUserProfileService
Comment 2 Anthony Hunter CLA 2013-10-03 16:02:48 EDT
I have called the bundle org.eclipse.orion.server.useradmin.simple.

The new services are activated with the setting:
orion.core.metastore=simple