Home > Archive > Java Security > December 2004 > SecurityManager Question
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
SecurityManager Question
|
|
| J. Horn 2004-12-01, 8:58 pm |
| 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
| |
| Selvamohan Neethiraj 2004-12-16, 4:09 pm |
| As 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
|
|
|
|
|