java > java.lang > java.lang.securitymanager >

Class: java.lang.SecurityManager
    java.lang.Object
       java.lang.SecurityManager


public class SecurityManager extends Object


FIELDS:
protected boolean inCheck

CONSTRUCTORS:
public SecurityManager()


METHODS:
public void checkAccept(String host, int port)
Throws: SecurityException
Throws: NullPointerException

public void checkAccess(Thread t)
Throws: SecurityException
Throws: NullPointerException

public void checkAccess(ThreadGroup g)
Throws: SecurityException
Throws: NullPointerException

public void checkAwtEventQueueAccess()
Throws: SecurityException

public void checkConnect(String host, int port)
Throws: SecurityException
Throws: NullPointerException

public void checkConnect(String host, int port, Object context)
Throws: SecurityException
Throws: NullPointerException

public void checkCreateClassLoader()
Throws: SecurityException

public void checkDelete(String file)
Throws: SecurityException
Throws: NullPointerException

public void checkExec(String cmd)
Throws: SecurityException
Throws: NullPointerException

public void checkExit(int status)
Throws: SecurityException

public void checkLink(String lib)
Throws: SecurityException
Throws: NullPointerException

public void checkListen(int port)
Throws: SecurityException

public void checkMemberAccess(Class clazz, int which)
Throws: SecurityException
Throws: NullPointerException

public void checkMulticast(InetAddress maddr)
Throws: SecurityException
Throws: NullPointerException

public void checkMulticast(InetAddress maddr, byte ttl)
Throws: SecurityException
Throws: NullPointerException

public void checkPackageAccess(String pkg)
Throws: SecurityException
Throws: NullPointerException

public void checkPackageDefinition(String pkg)
Throws: SecurityException

public void checkPermission(Permission perm)
Throws: SecurityException
Throws: NullPointerException

public void checkPermission(Permission perm, Object context)
Throws: SecurityException
Throws: NullPointerException

public void checkPrintJobAccess()
Throws: SecurityException

public void checkPropertiesAccess()
Throws: SecurityException

public void checkPropertyAccess(String key)
Throws: SecurityException
Throws: NullPointerException
Throws: IllegalArgumentException

public void checkRead(FileDescriptor fd)
Throws: SecurityException
Throws: NullPointerException

public void checkRead(String file)
Throws: SecurityException
Throws: NullPointerException

public void checkRead(String file, Object context)
Throws: SecurityException
Throws: NullPointerException

public void checkSecurityAccess(String target)
Throws: SecurityException
Throws: NullPointerException
Throws: IllegalArgumentException

public void checkSetFactory()
Throws: SecurityException

public void checkSystemClipboardAccess()
Throws: SecurityException

public boolean checkTopLevelWindow(Object window)
Throws: NullPointerException

public void checkWrite(FileDescriptor fd)
Throws: SecurityException
Throws: NullPointerException

public void checkWrite(String file)
Throws: SecurityException
Throws: NullPointerException

protected int classDepth(String name)

protected int classLoaderDepth()

protected ClassLoader currentClassLoader()

protected Class currentLoadedClass()

protected Class[] getClassContext()

public boolean getInCheck()

public Object getSecurityContext()

public ThreadGroup getThreadGroup()

protected boolean inClass(String name)

protected boolean inClassLoader()


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:
RMISecurityManager,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net