Skip to main content



      Home
Home » Archived » Orion (Archived) » ISecurePreferences storage(ISecurePreferences storage)
ISecurePreferences storage [message #1043015] Wed, 17 April 2013 02:54 Go to next message
Eclipse UserFriend
Hi
In class SecureStorageCredentialsService the Orion server calls to initSecurePreferences that init the storage.

How can I get this storage from another place in the program?
I want the specific storage that was initialized and not the default.

Thank you very much,
Tsahar
Re: ISecurePreferences storage [message #1043414 is a reply to message #1043015] Wed, 17 April 2013 13:21 Go to previous messageGo to next message
Eclipse UserFriend
This is published as an OSGi service. The service interface is org.eclipse.orion.server.useradmin.IOrionGuestCredentialsService. So you can obtain that service using the API on org.osgi.framework.BundleContext, or using OSGi declarative services which is what most of our code does (declarative files in OSGI-INF directory tell the framework what services to inject into your component).
Re: ISecurePreferences storage [message #1050704 is a reply to message #1043414] Sat, 27 April 2013 12:12 Go to previous message
Eclipse UserFriend
One minor correction to John's response -- the service interface you want is org.eclipse.orion.server.useradmin.IOrionCredentialsService.
Previous Topic:Servlet in Orion server
Next Topic:unpacking the eclipse-orion-XXX-macosx.cocoa.x86_64.zip file
Goto Forum:
  


Current Time: Wed Jul 30 15:01:24 EDT 2025

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

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

Back to the top