Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335390 - securestorage bundle requires explicit activation
Summary: securestorage bundle requires explicit activation
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.0 RC1   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 17:04 EST by Andrew Niefer CLA
Modified: 2013-10-03 16:13 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2011-01-25 17:04:36 EST
The new bundle org.eclipse.orion.server.user.securestorage must be explicitly started in the server configuration.  If this bundle is not started, then the client is broken and authentication does not work.

We should see if we can change this bundle to use ds to avoid this problem.
Comment 1 Andrew Niefer CLA 2011-01-25 17:08:09 EST
I have updated the server's releng configuration to start this bundle as a temporary fix until the bundle starts using ds.
Comment 2 John Arthorne CLA 2011-01-26 09:00:09 EST
Switching to DS is good, but I thought we were auto-starting everything on the server.. For example in our launch configurations default auto-start is set to true.
Comment 3 Andrew Niefer CLA 2011-01-26 09:54:13 EST
The launch config has default  auto-start=true because you can't specify only some bundles to be started when using feature based launches.

As far as I know there is no way to do an equivalent default auto-start=true for the server built by releng.  You have to list out all the bundles you want started.
Comment 4 Anthony Hunter CLA 2013-09-27 17:41:22 EDT
(In reply to Andrew Niefer from comment #0)
> We should see if we can change this bundle to use ds to avoid this problem.

I am wondering what this means.

When working on Bug 418230 , I have introduced a new bundle org.eclipse.orion.server.user.simple that provides the same two services as org.eclipse.orion.server.user.securestorage

It is not clear to me how we can "toggle" between the two. The default is to start "securestorage" but I want to set a variable somewhere to start "simple" instead.
Comment 5 John Arthorne CLA 2013-10-01 16:26:35 EDT
I think this is a stale bug. We have already switched to using declarative services for these services and I believe we no longer require explicit activation. 

Anthony your problem is different and maybe you should open a new bug about it. If there are multiple credential services available and we want to toggle, then we would need a configuration property that we can use to filter which service we use. I can talk to you more about this tomorrow.
Comment 6 Anthony Hunter CLA 2013-10-03 16:13:23 EDT
(In reply to John Arthorne from comment #5)
> I think this is a stale bug. We have already switched to using declarative
> services for these services and I believe we no longer require explicit
> activation. 
> 
> Anthony your problem is different and maybe you should open a new bug about
> it. If there are multiple credential services available and we want to
> toggle, then we would need a configuration property that we can use to
> filter which service we use. I can talk to you more about this tomorrow.

Ok, I raised Bug 418621 .