[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149
david.lloyd@jboss.com
do-not-reply at jboss.com
Thu Nov 6 14:38:55 EST 2008
"adrian at jboss.org" wrote : I guess the shutdown hooks run with different rights so it needs to be a privileged block?
If you make the stop() method run privileged, won't you make it kind of easy to defeat the security manager (by simply undeploying the bean, or even just getting the bean by name, or creating an instance of it, and manually calling stop() on it from hostile code)?
Just trying to think if there's a way to get at that. Probably the shutdown hook is the one that should be using the privileged block - or is that what you meant?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187502#4187502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187502
More information about the jboss-dev-forums
mailing list