A question about java.policy.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmjpro
    Top Contributor
    • Jan 2007
    • 2476

    #16
    Originally posted by JosAH
    Look what happens if you attempt to constuct a SecurityManager :
    I did it and it's working properly now my question is that if i override SecurityManager then how long it alives unless i set it to another or default..
    Anyway ..!!!!

    Originally posted by JosAH
    and please don't yell for attention.
    Sorry for that.
    Anyway next time i ll be here with high attention. :-)

    If there is a security manager already installed, this method first calls the security manager's checkPermission method with the RuntimePermissi on("createSecur ityManager") permission to ensure the calling thread has permission to create a new security manager. This may result in throwing a SecurityExcepti on.
    Thanks for kind information.

    Thanks experts!

    Comment

    Working...