The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
March 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

policy file question

Posted by Kenny on November 13, 2001 at 10:15 AM

I am writing a policy file that will allow the code base in a jar
file all permissions except for one of its classes. The class in
question is the interface to our server. Do I need to explicitly
grant privileges to every class in the jarfile, or is it possible
to do a "grant all" but override that for the one class? I'm also
exploring the option of breaking that one class out into a
separate jar.

I'd appreciate hearing from someone who has done the same thing
before.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us