Skip to main content



      Home
Home » Eclipse Projects » Equinox » Equinox UserAdmin Implementation: Configurable Location for User Admin Data
Equinox UserAdmin Implementation: Configurable Location for User Admin Data [message #68415] Wed, 31 May 2006 17:15
Eclipse UserFriend
Equinox Users,

I'm developing a user/group administration bundle that uses the Equinox
implementation of the OSGi framework's org.osgi.service.useradmin
service under the hood. I've noticed that data is always persisted to a
file that is named via the convention:

"org.eclipse.core.runtime.preferences.OSGiPreferences." +
bundle.getBundleId();

For example:

C:/eclipses/workspace/.metadata/.plugins/org.eclipse.pde.cor e/OSGiApp/.settings/org.eclipse.core.runtime.preferences.OSG iPreferences.26.prefs

I have a few questions regarding this.

1) In using this naming convention, isn't it possible that this data may
not be accessible across framework restarts due to the fact that bundle
id can change across systems stop/starts, and if so, isn't this less
than good?

2) Is it possible to configure a user-specified location that this data
is persisted to, and if so, how would one go about doing this?

What I'd like to be able to do is take a user/group file and drop it
into a well-defined location so that another OSGi instance can read it
and get up-to-date permissions. For example, I'd like to be able to
take a user/group data file from a development environment and drop it
into a QA environment and have the new data be available.

Perhaps the OSGi user admin service isn't intended for scenarios like this.

TIA for your thoughts.

- Ben Schmaus
Previous Topic:Help starting EventAdmin service!
Next Topic:significance of boldfacing within manifest editor
Goto Forum:
  


Current Time: Sat May 10 23:37:08 EDT 2025

Powered by FUDForum. Page generated in 0.02822 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top