Code Comments
Programming Forum and web based access to our favorite programming groups.I have an application that creates and uses a SecurityManager to protect against potentially hostile client behavior. If at some point during execution, the application decides it is not working with hostile clients, I want to disable/remove the SecurityManager. How do I destroy or disable the SecurityManager object? Also, what is the active SecurityManager's containing class? Thanks, John
Post Follow-up to this messageAs long as you have RuntimePermission("setSecurityManager") on the existing
SecurityManager, you should be able to change the security manager to
different security manager programatically.
Thanks,
Selva-
"J. Horn" <jfhorn@gmail.com> wrote in message
news:81530ff0.0412011420.12fb9277@posting.google.com...
>I have an application that creates and uses a SecurityManager to
> protect against potentially hostile client behavior. If at some point
> during execution, the application decides it is not working with
> hostile clients, I want to disable/remove the SecurityManager.
>
> How do I destroy or disable the SecurityManager object?
>
> Also, what is the active SecurityManager's containing class?
>
> Thanks,
> John
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.