/[classpath]/classpath/java/lang/SecurityManager.java
ViewVC logotype

Diff of /classpath/java/lang/SecurityManager.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20.2.7 by gnu_andrew, Tue Aug 2 20:12:23 2005 UTC revision 1.20.2.8 by gnu_andrew, Tue Sep 20 18:46:28 2005 UTC
# Line 41  package java.lang; Line 41  package java.lang;
41  import gnu.classpath.VMStackWalker;  import gnu.classpath.VMStackWalker;
42    
43  import java.awt.AWTPermission;  import java.awt.AWTPermission;
44    import java.awt.Frame;
45    import java.awt.Toolkit;
46    import java.awt.Window;
47  import java.io.File;  import java.io.File;
48  import java.io.FileDescriptor;  import java.io.FileDescriptor;
49    import java.io.FileInputStream;
50    import java.io.FileOutputStream;
51  import java.io.FilePermission;  import java.io.FilePermission;
52    import java.io.RandomAccessFile;
53  import java.lang.reflect.Member;  import java.lang.reflect.Member;
54  import java.net.InetAddress;  import java.net.InetAddress;
55    import java.net.ServerSocket;
56    import java.net.Socket;
57    import java.net.SocketImplFactory;
58  import java.net.SocketPermission;  import java.net.SocketPermission;
59    import java.net.URL;
60    import java.net.URLStreamHandlerFactory;
61  import java.security.AccessControlContext;  import java.security.AccessControlContext;
62    import java.security.AccessControlException;
63  import java.security.AccessController;  import java.security.AccessController;
64  import java.security.AllPermission;  import java.security.AllPermission;
65    import java.security.BasicPermission;
66  import java.security.Permission;  import java.security.Permission;
67    import java.security.Policy;
68  import java.security.PrivilegedAction;  import java.security.PrivilegedAction;
69    import java.security.ProtectionDomain;
70  import java.security.Security;  import java.security.Security;
71  import java.security.SecurityPermission;  import java.security.SecurityPermission;
72    import java.util.Properties;
73  import java.util.PropertyPermission;  import java.util.PropertyPermission;
74  import java.util.StringTokenizer;  import java.util.StringTokenizer;
75    
# Line 196  public class SecurityManager Line 212  public class SecurityManager
212     * <ul>     * <ul>
213     * <li>All methods on the stack are from system classes</li>     * <li>All methods on the stack are from system classes</li>
214     * <li>All methods on the stack up to the first "privileged" caller, as     * <li>All methods on the stack up to the first "privileged" caller, as
215     *  created by {@link AccessController.doPrivileged(PrivilegedAction)},     *  created by {@link AccessController#doPrivileged(PrivilegedAction)},
216     *  are from system classes</li>     *  are from system classes</li>
217     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
218     * </ul>     * </ul>
# Line 219  public class SecurityManager Line 235  public class SecurityManager
235     * <ul>     * <ul>
236     * <li>All methods on the stack are from system classes</li>     * <li>All methods on the stack are from system classes</li>
237     * <li>All methods on the stack up to the first "privileged" caller, as     * <li>All methods on the stack up to the first "privileged" caller, as
238     *  created by {@link AccessController.doPrivileged(PrivilegedAction)},     *  created by {@link AccessController#doPrivileged(PrivilegedAction)},
239     *  are from system classes</li>     *  are from system classes</li>
240     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
241     * </ul>     * </ul>
# Line 258  public class SecurityManager Line 274  public class SecurityManager
274     * <ul>     * <ul>
275     * <li>All methods on the stack are from system classes</li>     * <li>All methods on the stack are from system classes</li>
276     * <li>All methods on the stack up to the first "privileged" caller, as     * <li>All methods on the stack up to the first "privileged" caller, as
277     *  created by {@link AccessController.doPrivileged(PrivilegedAction)},     *  created by {@link AccessController#doPrivileged(PrivilegedAction)},
278     *  are from system classes</li>     *  are from system classes</li>
279     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>     * <li>A check of <code>java.security.AllPermission</code> succeeds.</li>
280     * </ul>     * </ul>
# Line 431  public class SecurityManager Line 447  public class SecurityManager
447     * @throws SecurityException if permission is denied     * @throws SecurityException if permission is denied
448     * @throws NullPointerException if g is null     * @throws NullPointerException if g is null
449     * @see Thread#Thread()     * @see Thread#Thread()
450     * @see ThreadGroup#ThreadGroup()     * @see ThreadGroup#ThreadGroup(String)
451     * @see ThreadGroup#stop()     * @see ThreadGroup#stop()
452     * @see ThreadGroup#suspend()     * @see ThreadGroup#suspend()
453     * @see ThreadGroup#resume()     * @see ThreadGroup#resume()
# Line 537  public class SecurityManager Line 553  public class SecurityManager
553     * @throws NullPointerException if filename is null     * @throws NullPointerException if filename is null
554     * @see File     * @see File
555     * @see FileInputStream#FileInputStream(String)     * @see FileInputStream#FileInputStream(String)
556     * @see RandomAccessFile#RandomAccessFile(String)     * @see RandomAccessFile#RandomAccessFile(String, String)
557     */     */
558    public void checkRead(String filename)    public void checkRead(String filename)
559    {    {
# Line 602  public class SecurityManager Line 618  public class SecurityManager
618     * @see File     * @see File
619     * @see File#canWrite()     * @see File#canWrite()
620     * @see File#mkdir()     * @see File#mkdir()
621     * @see File#renameTo()     * @see File#renameTo(File)
622     * @see FileOutputStream#FileOutputStream(String)     * @see FileOutputStream#FileOutputStream(String)
623     * @see RandomAccessFile#RandomAccessFile(String)     * @see RandomAccessFile#RandomAccessFile(String, String)
624     */     */
625    public void checkWrite(String filename)    public void checkWrite(String filename)
626    {    {

Legend:
Removed from v.1.20.2.7  
changed lines
  Added in v.1.20.2.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26