May 2001
Intermediate to advanced
618 pages
20h 50m
English
Class java.lang.SecurityManager
This class forms the primary interface to the security model of the virtual machine; it is recommended for backward compatibility that access to that model occur through this class rather than by calling the access controller directly. However, most of the methods of this class simply call the access controller.
public class java.lang.SecurityManager extends java.lang.Object { // Variables protected boolean inCheck; // Constructors public SecurityManager( ); // Instance Methods public void checkAccept(String, int); public void checkAccess(Thread); public void checkAccess(ThreadGroup); public void checkAwtEventQueueAccess( ); public void checkConnect(String, int); public void checkConnect(String, int, Object); public void checkCreateClassLoader( ); public void checkDelete(String); public void checkExec(String); public void checkExit(int); public void checkLink(String); public void checkListen(int); public void checkMemberAccess(Class, int); public void checkMulticast(InetAddress); public void checkMulticast(InetAddress, byte); public void checkPackageAccess(String); public void checkPackageDefinition(String); public void checkPermission(Permission); public void checkPermission(Permission, Object); public void checkPrintJobAccess( ); public void checkPropertiesAccess( ); public void checkPropertyAccess(String); public void checkRead(FileDescriptor); public void checkRead(String); public void checkRead(String, Object); public ...Read now
Unlock full access