[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149

anil.saldhana@jboss.com do-not-reply at jboss.com
Thu Nov 6 15:47:10 EST 2008


Can you folks retrofit ClassLoaderPolicy, VFSClassLoaderPolicy to take in the settings from the system property  (java.security.debug  which can have entries such as:

  |     - access —print all checkPermission results
  |     - jar —print jar verification information
  |     - policy —print policy information
  |     - scl —print permissions assigned by the SecureClassLoader 
  | 
  | The access option has the following sub-options:
  |     - stack —include stack trace
  |     - domain —dump all domains in context
  |     - failure —dump the stack and domain that did not have permission before throwing the exception 
  | 
  | For example, to print all checkPermission results and trace all domains in context, set java.security.debug to access,stack. To trace access failures, set it to access,failure.
  | 

I was looking at this source file:
http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/trunk/classloading-vfs/src/main/java/org/jboss/classloading/spi/vfs/policy/VFSClassLoaderPolicy.java

Additionally, the getProtectionDomain method was supposed to handle certificates with a todo of JBMICROCONT-182 (which has been completed)
https://jira.jboss.org/jira/browse/JBMICROCONT-182

So I created a subtask for this:

https://jira.jboss.org/jira/browse/JBMICROCONT-381

Ales, can I know how this classloader policy is being installed?  I could not figure out from the xmls in the conf directory.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187526#4187526

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187526




More information about the jboss-dev-forums mailing list