Skip to main content



      Home
Home » Eclipse Projects » Equinox » How can I start the Equinox OSGi frame with Java 2 Security?Does it work?
How can I start the Equinox OSGi frame with Java 2 Security?Does it work? [message #72728] Thu, 31 August 2006 05:18 Go to next message
Eclipse UserFriend
hi,folks
I know I can start the Equinox framework with Security using below
command;
<<<<<<<<<<<<<<
java -jar org.eclipse.osgi_3.1.0.jar -console
<<<<<<<<<<<<<<

But now I want to learn the Security of the Equinox, so I start the
framework by below command:
<<<<<<<<<<<<<<<<<<
java -Djava.security.manager -Djava.security.policy=c:\osgi\java.policy
-jar org.eclipse.osgi_3.2.0.v20060328.jar -console
<<<<<<<<<<<<<<<<<<

I assign the AllPermissions for the org.eclipse.osgi_3.2.0.v20060328.jar
file in the java.policy file. Dose this right?

If I want to install a Bundle to this framework which register a server to
the framework, need I set the ServicePermission(Register) for that Bundle
in the java.policy file.

When I do this, it looks like the OSGi Security doesn't take effect. Can
you help me? This problem really bother me a lots.


Best Regards!
Thanks!

yangxfei@cn.ibm.com
Re: How can I start the Equinox OSGi frame with Java 2 Security?Does it work? [message #72742 is a reply to message #72728] Thu, 31 August 2006 10:27 Go to previous message
Eclipse UserFriend
BTW, Where can I find more documents about the Security of Equinox OSGi
framework? Is there any example?

Thanks very much
Previous Topic:ServiceTracker
Next Topic:security policy for equinox framework
Goto Forum:
  


Current Time: Thu May 08 21:31:27 EDT 2025

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

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

Back to the top