20.17
java.lang.SecurityManager
THE PACKAGE JAVA.LANG
20.17.15
public void checkPropertiesAccess()
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if getting or setting the system properties data structure is not permitted.
This method is invoked for the current security manager ( 20.18.4) by the
methods
getProperties
( 20.18.7) and
setProperties
( 20.18.8) of class
System
.
The
checkPropertiesAccess
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if a
properties access operation is to be permitted with a security manager installed.
20.17.16
public void checkPropertyAccess(String key)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if getting the value of the system property named by the
key
is not permitted.
This method is invoked for the current security manager ( 20.18.4) by the
methods
getProperty
of one argument ( 20.18.9) and
getProperty
of two
arguments ( 20.18.10) of class
System
.
The
checkPropertyAccess
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if
accessing the value of a system property is to be permitted with a security man
ager installed.
20.17.17
public void checkLink(String libname)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if dynamic linking of the specified library code file is not permitted. The argument
may be a simple library name or a complete file name.
This method is invoked for the current security manager ( 20.18.4) by meth
ods
load
( 20.16.13) and
loadLibrary
( 20.16.14) of class
Runtime
.
The
checkLink
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if a dynamic code
linking operation is to be permitted with a security manager installed.
574
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved