20.17
java.lang.SecurityManager
THE PACKAGE JAVA.LANG
The
checkSetFactory
method defined by class
SecurityManager
always
throws a
SecurityException
. A subclass must override this method if a factory
installation operation is to be permitted with a security manager installed.
20.17.27
public boolean checkTopLevelWindow()
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if creation of a top level window is not permitted. If creation of a top level win
dow is permitted, then this method should return
false
if the window ought to
bear a clear warning that it is a window for an executable applet. A returned value
of
true
means that the security manager places no restriction on window creation.
This method is invoked for the current security manager ( 20.18.4) by the
constructors for class
java.awt.Window
. (This class is not documented in this
specification. See
The Java Application Programming Interface
.)
The
checkTopLevelWindow
method defined by class
SecurityManager
always returns
false
. A subclass must override this method if a window creation
operation is to be unrestricted or forbidden with a security manager installed.
20.17.28
public void checkPackageAccess(String packageName)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if the current applet is not permitted to access the package named by the argu
ment. This method is intended for use by Java capable web browsers.
The
checkPackageAccess
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if
package access by an applet is to be permitted with a security manager installed.
20.17.29
public void checkPackageDefinition(String packageName)
throws SecurityException
The general contract of this method is that it should throw a
SecurityException
if the current applet is not permitted to define a class (or interface) in the package
named by the argument. This method is intended for use by Java capable web
browsers.
The
checkPackageAccess
method defined by class
SecurityManager
always throws a
SecurityException
. A subclass must override this method if
class definition by an applet is to be permitted with a security manager installed.
578
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