Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.SecurityManager

Availability: JDK 1.0

public abstract class SecurityManager extends Object {
   // Protected Constructor
      protected SecurityManager();
   // Protected Instance Variables
      protected boolean inCheck;
   // Public Instance Methods
      public void checkAccept(String host, int port);
      public void checkAccess(Thread g);
      public void checkAccess(ThreadGroup g);
1.1  public void checkAwtEventQueueAccess();
      public void checkConnect(String host, int port);
      public void checkConnect(String host, int port, Object context);
      public void checkCreateClassLoader();
      public void checkDelete(String file);
      public void checkExec(String cmd);
      public void checkExit(int status);
      public void checkLink(String lib);
      public void checkListen(int port);
1.1  public void checkMemberAccess(Class clazz, int which);
1.1  public void checkMulticast(InetAddress maddr);
1.1  public void checkMulticast(InetAddress maddr, byte ttl);
      public void checkPackageAccess(String pkg);
      public void checkPackageDefinition(String pkg);
1.1  public void checkPrintJobAccess();
      public void checkPropertiesAccess();
      public void checkPropertyAccess(String key);
      public void checkRead(FileDescriptor fd);
      public void checkRead(String file);
      public void checkRead(String file, Object context);
1.1  public void checkSecurityAccess(String action);
      public void checkSetFactory();
1.1  public void checkSystemClipboardAccess();
      public boolean checkTopLevelWindow(Object window);
      public void checkWrite(FileDescriptor fd);
      public void checkWrite(String file);
      public boolean getInCheck();
      public Object getSecurityContext();
1.1  public ThreadGroup getThreadGroup();
   // Protected Instance Methods
      protected native int classDepth(String name);
      protected native int classLoaderDepth();
      protected native ClassLoader currentClassLoader();
1.1  protected Class currentLoadedClass();
      protected native Class[] getClassContext();
      protected boolean inClass(String name);
      protected boolean inClassLoader();
}
Extended By:
RMISecurityManager.
Passed To:
System.setSecurityManager().
Returned By:
System.getSecurityManager().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.