Re: Service Start Framework Permissions vs Service Permission
Bob Scheifler <[email protected]> Wed, 28 May 2008 16:22:33 -0400
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
> I'm trying to recall how the
> split policy works in service starter. Is the service only granted what
> it's policy specifies in the policy file passed into
> NonActivatableServiceDescriptor (and the others), or does it also get
> the permissions granted on the command line that start.jar is started with?
If you mean LoaderSplitPolicyProvider, then from its javadoc:
Each LoaderSplitPolicyProvider instance wraps two underlying policy providers:
- a class-loader specific policy provider, consulted for permission
queries/grants pertaining to that class loader, any child class loaders
that delegate to it, or the null class loader, and
- a default policy provider, consulted for all other operations (aside
from refresh, which applies to both policies).
- Bob
--------------------------------------------------------------------------
Getting Started: http://www.jini.org/wiki/Category:Getting_Started
Community Web Site: http://jini.org
jini-users Archive: http://archives.java.sun.com/archives/jini-users.html
Unsubscribing: email "signoff JINI-USERS" to [email protected]