O'Reilly logo

Java Security by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Class java.lang.SecurityManager

Synopsis

This class forms the primary interface to the security model of the virtual machine; it is recommended for backwards 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.

Class Definition

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 void ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required