Re: Service Start Framework Permissions vs Service Permission

Bob Scheifler <[email protected]> Mon, 2 Jun 2008 10:15:32 -0400
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
> The Policy is the DynamicPolicy class that the starter kit uses.  Can I 
> do something clever with the bootclasspath to get different, more 
> informative output?

You can try appending jsk-policy.jar to bootclasspath, but I think
odds are pretty high you'll hit a StackOverflowError sooner (JDK1.5)
or later (JDK1.6) due to recursive permission checks.  You may have
to resort to editing ProtectionDomain.toString and prepending that
modified class into bootclasspath.

- 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]