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

adrian@jboss.org do-not-reply at jboss.com
Thu Nov 6 13:15:30 EST 2008


"anil.saldhana at jboss.com" wrote : 
  | 
  |   |         at org.jboss.kernel.plugins.dependency.DispatchJoinPoint.run(DispatchJoinPoint.java:47)
  |   |         at java.security.AccessController.doPrivileged(Native Method)
  |   |         at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:54)
  |   | 
  | 
  | Ok, that is the stack trace for the record.

Well actually for the record, the stacktrace before that doPrivleged is irrelevant.
What is relevant is the stacktrace when the pojo got registered (which should
be pretty similar in this case?).

In the MC we remember the AccessControlContext when you register
the pojo and restore it when processing it. This avoids you gaining additional
permissions by for example getting invoked on a different thread as your
dependencies are satisfied.

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

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



More information about the jboss-dev-forums mailing list