<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.rmi.RMISecurityManager
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.html">This Package</a>  <a href="java.rmi.Naming.html#_top_">Previous</a>  <a href="Package-java.rmi.html">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.rmi.RMISecurityManager
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.lang.SecurityManager.html#_top_">java.lang.SecurityManager</a>
           |
           +----java.rmi.RMISecurityManager
</pre>
<hr>
<dl>
  <dt> public class <b>RMISecurityManager</b>
  <dt> extends <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
</dl>
This class defines a default security policy for RMI applications (not
 applets).  For code loaded from a class loader, the security manager
 disables all functions except class definition and access.  This class
 may be subclassed to implement a different policy.  To set a
 RMISecurityManager, add the following to an application's main()
 method: <br>
 System.setSecurityManager(new RMISecurityManager()); If no security
 manager has been set, RMI will only load classes from local system
 files as defined by CLASSPATH.<p>
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#RMISecurityManager()"><b>RMISecurityManager</b></a>()
  <dd>  Construct and initialize.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkAccept(java.lang.String, int)"><b>checkAccept</b></a>(String, int)
  <dd>  For now loaded classes can't accept connections on any port.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkAccess(java.lang.Thread)"><b>checkAccess</b></a>(Thread)
  <dd>  Loaded classes are not allowed to manipulate threads.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkAccess(java.lang.ThreadGroup)"><b>checkAccess</b></a>(ThreadGroup)
  <dd>  Loaded classes are not allowed to manipulate thread groups.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkAwtEventQueueAccess()"><b>checkAwtEventQueueAccess</b></a>()
  <dd>  Checks to see if an client can get access to the AWT event queue
 (disallowed from loaded classes).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkConnect(java.lang.String, int)"><b>checkConnect</b></a>(String, int)
  <dd>  Loaded classes can make connections if called through the RMI transport.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkConnect(java.lang.String, int, java.lang.Object)"><b>checkConnect</b></a>(String, int, Object)
  <dd>  Loaded classes can make connections if
 called through the RMI transport.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkCreateClassLoader()"><b>checkCreateClassLoader</b></a>()
  <dd>  Loaded classes are not allowed to create class loaders, or even
 execute any of ClassLoader's methods.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkDelete(java.lang.String)"><b>checkDelete</b></a>(String)
  <dd>  Check if a file with the specified system dependent
 file name can be deleted.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkExec(java.lang.String)"><b>checkExec</b></a>(String)
  <dd>  Loaded classes are not allowed to fork processes.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkExit(int)"><b>checkExit</b></a>(int)
  <dd>  Loaded classes are not allowed to exit the VM.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkLink(java.lang.String)"><b>checkLink</b></a>(String)
  <dd>  Loaded classes are not allowed to link dynamic libraries.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkListen(int)"><b>checkListen</b></a>(int)
  <dd>  For now loaded classes can't listen on any port.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkMemberAccess(java.lang.Class, int)"><b>checkMemberAccess</b></a>(Class, int)
  <dd>  Check if client is allowed reflective access to a member or a set
 of members for the specified class.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkMulticast(java.net.InetAddress)"><b>checkMulticast</b></a>(InetAddress)
  <dd>  Checks to see if current execution context is allowed to use
 (join/leave/send/receive) IP multicast (disallowed from loaded classes).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkMulticast(java.net.InetAddress, byte)"><b>checkMulticast</b></a>(InetAddress, byte)
  <dd>  Checks to see if current execution context is allowed to use
 (join/leave/send/receive) IP multicast (disallowed from loaded classes).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkPackageAccess(java.lang.String)"><b>checkPackageAccess</b></a>(String)
  <dd>  Check if a loaded class can access a package.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkPackageDefinition(java.lang.String)"><b>checkPackageDefinition</b></a>(String)
  <dd>  Check if a loaded class can define classes in a package.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkPrintJobAccess()"><b>checkPrintJobAccess</b></a>()
  <dd>  Disallow printing from loaded classes.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkPropertiesAccess()"><b>checkPropertiesAccess</b></a>()
  <dd>  Loaded classes are not allowed to access the system properties list.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkPropertyAccess(java.lang.String)"><b>checkPropertyAccess</b></a>(String)
  <dd>  Loaded classes can access the system property named by <i>key</i>
 only if its twin <i>key.rmi</i> property is set to true.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkRead(java.io.FileDescriptor)"><b>checkRead</b></a>(FileDescriptor)
  <dd>  Loaded classes are not allowed to open descriptors for reading unless
 it is done through a socket, in which case other access
 restrictions still apply.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkRead(java.lang.String)"><b>checkRead</b></a>(String)
  <dd>  Check if a loaded class can read a particular file.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkRead(java.lang.String, java.lang.Object)"><b>checkRead</b></a>(String, Object)
  <dd>  No file reads are valid from a loaded class.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkSecurityAccess(java.lang.String)"><b>checkSecurityAccess</b></a>(String)
  <dd>  Loaded classes cannot perform security provider operations.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkSetFactory()"><b>checkSetFactory</b></a>()
  <dd>  Check if a loaded class can set a networking-related object factory.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkSystemClipboardAccess()"><b>checkSystemClipboardAccess</b></a>()
  <dd>  Checks to see if an client can get access to the System Clipboard
 (disallowed from loaded classes).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkTopLevelWindow(java.lang.Object)"><b>checkTopLevelWindow</b></a>(Object)
  <dd>  Allow caller to create top-level windows.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkWrite(java.io.FileDescriptor)"><b>checkWrite</b></a>(FileDescriptor)
  <dd>  Loaded classes are not allowed to open descriptors for writing unless
 it is done through a socket, in which case other access
 restrictions still apply.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#checkWrite(java.lang.String)"><b>checkWrite</b></a>(String)
  <dd>  Check if a loaded class can write a particular file.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getSecurityContext()"><b>getSecurityContext</b></a>()
  <dd>  Returns the security context (e.g., a URL).
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="RMISecurityManager"></a>
<a name="RMISecurityManager()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>RMISecurityManager</b>
<pre>
 public RMISecurityManager()
</pre>
<dl>
  <dd> Construct and initialize.
<p>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getSecurityContext()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getSecurityContext"><b>getSecurityContext</b></a>
<pre>
 public <a href="java.lang.Object.html#_top_">Object</a> getSecurityContext()
</pre>
<dl>
  <dd> Returns the security context (e.g., a URL).
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#getSecurityContext()">getSecurityContext</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkCreateClassLoader()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkCreateClassLoader"><b>checkCreateClassLoader</b></a>
<pre>
 public synchronized void checkCreateClassLoader()
</pre>
<dl>
  <dd> Loaded classes are not allowed to create class loaders, or even
 execute any of ClassLoader's methods.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkCreateClassLoader()">checkCreateClassLoader</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkAccess(java.lang.Thread)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkAccess"><b>checkAccess</b></a>
<pre>
 public synchronized void checkAccess(<a href="java.lang.Thread.html#_top_">Thread</a> t)
</pre>
<dl>
  <dd> Loaded classes are not allowed to manipulate threads.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkAccess(java.lang.Thread)">checkAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkAccess(java.lang.ThreadGroup)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkAccess"><b>checkAccess</b></a>
<pre>
 public synchronized void checkAccess(<a href="java.lang.ThreadGroup.html#_top_">ThreadGroup</a> g)
</pre>
<dl>
  <dd> Loaded classes are not allowed to manipulate thread groups.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkAccess(java.lang.ThreadGroup)">checkAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkExit(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkExit"><b>checkExit</b></a>
<pre>
 public synchronized void checkExit(int status)
</pre>
<dl>
  <dd> Loaded classes are not allowed to exit the VM.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkExit(int)">checkExit</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkExec(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkExec"><b>checkExec</b></a>
<pre>
 public synchronized void checkExec(<a href="java.lang.String.html#_top_">String</a> cmd)
</pre>
<dl>
  <dd> Loaded classes are not allowed to fork processes.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkExec(java.lang.String)">checkExec</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkLink(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkLink"><b>checkLink</b></a>
<pre>
 public synchronized void checkLink(<a href="java.lang.String.html#_top_">String</a> lib)
</pre>
<dl>
  <dd> Loaded classes are not allowed to link dynamic libraries.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkLink(java.lang.String)">checkLink</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkPropertiesAccess()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkPropertiesAccess"><b>checkPropertiesAccess</b></a>
<pre>
 public synchronized void checkPropertiesAccess()
</pre>
<dl>
  <dd> Loaded classes are not allowed to access the system properties list.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkPropertiesAccess()">checkPropertiesAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkPropertyAccess(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkPropertyAccess"><b>checkPropertyAccess</b></a>
<pre>
 public synchronized void checkPropertyAccess(<a href="java.lang.String.html#_top_">String</a> key)
</pre>
<dl>
  <dd> Loaded classes can access the system property named by <i>key</i>
 only if its twin <i>key.rmi</i> property is set to true.
 For example, the property <code>java.home</code> can be read by
 loaded classes only if <code>java.home.rmi</code> is <code>true</code>.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkPropertyAccess(java.lang.String)">checkPropertyAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkRead(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkRead"><b>checkRead</b></a>
<pre>
 public synchronized void checkRead(<a href="java.lang.String.html#_top_">String</a> file)
</pre>
<dl>
  <dd> Check if a loaded class can read a particular file.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkRead(java.lang.String)">checkRead</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkRead(java.lang.String, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkRead"><b>checkRead</b></a>
<pre>
 public void checkRead(<a href="java.lang.String.html#_top_">String</a> file,
                       <a href="java.lang.Object.html#_top_">Object</a> context)
</pre>
<dl>
  <dd> No file reads are valid from a loaded class.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.rmi.RMISecurityException.html#_top_">RMISecurityException</a>
    <dd> If called from a loaded class.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkRead(java.lang.String, java.lang.Object)">checkRead</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkWrite(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkWrite"><b>checkWrite</b></a>
<pre>
 public synchronized void checkWrite(<a href="java.lang.String.html#_top_">String</a> file)
</pre>
<dl>
  <dd> Check if a loaded class can write a particular file.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.rmi.RMISecurityException.html#_top_">RMISecurityException</a>
    <dd> If called from a loaded class.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkWrite(java.lang.String)">checkWrite</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkDelete(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkDelete"><b>checkDelete</b></a>
<pre>
 public void checkDelete(<a href="java.lang.String.html#_top_">String</a> file)
</pre>
<dl>
  <dd> Check if a file with the specified system dependent
 file name can be deleted.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> file - the system dependent file name
    <dt> <b>Throws:</b> <a href="java.rmi.RMISecurityException.html#_top_">RMISecurityException</a>
    <dd> If the file is not found.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkDelete(java.lang.String)">checkDelete</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkRead(java.io.FileDescriptor)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkRead"><b>checkRead</b></a>
<pre>
 public synchronized void checkRead(<a href="java.io.FileDescriptor.html#_top_">FileDescriptor</a> fd)
</pre>
<dl>
  <dd> Loaded classes are not allowed to open descriptors for reading unless
 it is done through a socket, in which case other access
 restrictions still apply.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkRead(java.io.FileDescriptor)">checkRead</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkWrite(java.io.FileDescriptor)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkWrite"><b>checkWrite</b></a>
<pre>
 public synchronized void checkWrite(<a href="java.io.FileDescriptor.html#_top_">FileDescriptor</a> fd)
</pre>
<dl>
  <dd> Loaded classes are not allowed to open descriptors for writing unless
 it is done through a socket, in which case other access
 restrictions still apply.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkWrite(java.io.FileDescriptor)">checkWrite</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkListen(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkListen"><b>checkListen</b></a>
<pre>
 public synchronized void checkListen(int port)
</pre>
<dl>
  <dd> For now loaded classes can't listen on any port.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkListen(int)">checkListen</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkAccept(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkAccept"><b>checkAccept</b></a>
<pre>
 public synchronized void checkAccept(<a href="java.lang.String.html#_top_">String</a> host,
                                      int port)
</pre>
<dl>
  <dd> For now loaded classes can't accept connections on any port.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkAccept(java.lang.String, int)">checkAccept</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkMulticast(java.net.InetAddress)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkMulticast"><b>checkMulticast</b></a>
<pre>
 public void checkMulticast(<a href="java.net.InetAddress.html#_top_">InetAddress</a> maddr)
</pre>
<dl>
  <dd> Checks to see if current execution context is allowed to use
 (join/leave/send/receive) IP multicast (disallowed from loaded classes).
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkMulticast(java.net.InetAddress)">checkMulticast</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkMulticast(java.net.InetAddress, byte)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkMulticast"><b>checkMulticast</b></a>
<pre>
 public void checkMulticast(<a href="java.net.InetAddress.html#_top_">InetAddress</a> maddr,
                            byte ttl)
</pre>
<dl>
  <dd> Checks to see if current execution context is allowed to use
 (join/leave/send/receive) IP multicast (disallowed from loaded classes).
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkMulticast(java.net.InetAddress, byte)">checkMulticast</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkConnect(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkConnect"><b>checkConnect</b></a>
<pre>
 public synchronized void checkConnect(<a href="java.lang.String.html#_top_">String</a> host,
                                       int port)
</pre>
<dl>
  <dd> Loaded classes can make connections if called through the RMI transport.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkConnect(java.lang.String, int)">checkConnect</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkConnect(java.lang.String, int, java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkConnect"><b>checkConnect</b></a>
<pre>
 public void checkConnect(<a href="java.lang.String.html#_top_">String</a> host,
                          int port,
                          <a href="java.lang.Object.html#_top_">Object</a> context)
</pre>
<dl>
  <dd> Loaded classes can make connections if
 called through the RMI transport.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkConnect(java.lang.String, int, java.lang.Object)">checkConnect</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkTopLevelWindow(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkTopLevelWindow"><b>checkTopLevelWindow</b></a>
<pre>
 public synchronized boolean checkTopLevelWindow(<a href="java.lang.Object.html#_top_">Object</a> window)
</pre>
<dl>
  <dd> Allow caller to create top-level windows.
 Allow loaded classes to create windows with warnings.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkTopLevelWindow(java.lang.Object)">checkTopLevelWindow</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkPackageAccess(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkPackageAccess"><b>checkPackageAccess</b></a>
<pre>
 public synchronized void checkPackageAccess(<a href="java.lang.String.html#_top_">String</a> pkg)
</pre>
<dl>
  <dd> Check if a loaded class can access a package.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkPackageAccess(java.lang.String)">checkPackageAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkPackageDefinition(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkPackageDefinition"><b>checkPackageDefinition</b></a>
<pre>
 public synchronized void checkPackageDefinition(<a href="java.lang.String.html#_top_">String</a> pkg)
</pre>
<dl>
  <dd> Check if a loaded class can define classes in a package.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkPackageDefinition(java.lang.String)">checkPackageDefinition</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkSetFactory()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkSetFactory"><b>checkSetFactory</b></a>
<pre>
 public synchronized void checkSetFactory()
</pre>
<dl>
  <dd> Check if a loaded class can set a networking-related object factory.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkSetFactory()">checkSetFactory</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkPrintJobAccess()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkPrintJobAccess"><b>checkPrintJobAccess</b></a>
<pre>
 public void checkPrintJobAccess()
</pre>
<dl>
  <dd> Disallow printing from loaded classes.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkPrintJobAccess()">checkPrintJobAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkSystemClipboardAccess()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkSystemClipboardAccess"><b>checkSystemClipboardAccess</b></a>
<pre>
 public void checkSystemClipboardAccess()
</pre>
<dl>
  <dd> Checks to see if an client can get access to the System Clipboard
 (disallowed from loaded classes).
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkSystemClipboardAccess()">checkSystemClipboardAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkAwtEventQueueAccess()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkAwtEventQueueAccess"><b>checkAwtEventQueueAccess</b></a>
<pre>
 public void checkAwtEventQueueAccess()
</pre>
<dl>
  <dd> Checks to see if an client can get access to the AWT event queue
 (disallowed from loaded classes).
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkAwtEventQueueAccess()">checkAwtEventQueueAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkMemberAccess(java.lang.Class, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkMemberAccess"><b>checkMemberAccess</b></a>
<pre>
 public void checkMemberAccess(<a href="java.lang.Class.html#_top_">Class</a> clazz,
                               int which)
</pre>
<dl>
  <dd> Check if client is allowed reflective access to a member or a set
 of members for the specified class.  Once initial access is granted,
 the reflected members can be queried for identifying information, but
 can only be <strong>used</strong> (via get, set, invoke, or
 newInstance) with standard Java language access control.
 <p>The policy is to dent <em>untrusted</em> clients access to
 <em>declared</em> members of classes other than those loaded via
 the same class loader.  All other accesses are granted.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkMemberAccess(java.lang.Class, int)">checkMemberAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<a name="checkSecurityAccess(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="checkSecurityAccess"><b>checkSecurityAccess</b></a>
<pre>
 public void checkSecurityAccess(<a href="java.lang.String.html#_top_">String</a> provider)
</pre>
<dl>
  <dd> Loaded classes cannot perform security provider operations.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.SecurityManager.html#checkSecurityAccess(java.lang.String)">checkSecurityAccess</a> in class <a href="java.lang.SecurityManager.html#_top_">SecurityManager</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.html">This Package</a>  <a href="java.rmi.Naming.html#_top_">Previous</a>  <a href="Package-java.rmi.html">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
