KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > SecurityManager

java.lang
Class SecurityManager

java.lang.Object
  extended by java.lang.SecurityManager
Direct Known Subclasses:
RMISecurityManager
See Also:
Top Examples, Source Code, checkPermission, getSecurityContext, checkPermission(java.security.Permission), ClassLoader, SecurityException, checkTopLevelWindow, getSecurityManager, setSecurityManager, AccessController, AccessControlContext, Permission, BasicPermission, FilePermission, SocketPermission, PropertyPermission, RuntimePermission, AWTPermission, Policy, SecurityPermission, ProtectionDomain

public void checkAccept(String host,
                        int port)
See Also:
checkPermission, ServerSocket.accept(), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkAccess(Thread t)
See Also:
checkPermission, suspend, stop, setPriority, setName, setDaemon, resume, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkAccess(ThreadGroup g)
See Also:
checkPermission, suspend, stop, setMaxPriority, setDaemon, resume, destroy, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkAwtEventQueueAccess()
See Also:
checkPermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkConnect(String host,
                         int port)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkConnect(String host,
                         int port,
                         Object context)
See Also:
AccessControlContext.checkPermission(java.security.Permission), getSecurityContext(), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkCreateClassLoader()
See Also:
checkPermission, ClassLoader.ClassLoader(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkDelete(String file)
See Also:
checkPermission, File.delete(), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkExec(String cmd)
See Also:
checkPermission, Runtime.exec(java.lang.String[], java.lang.String[]), Runtime.exec(java.lang.String[]), Runtime.exec(java.lang.String, java.lang.String[]), Runtime.exec(java.lang.String), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkExit(int status)
See Also:
checkPermission, exit, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkLink(String lib)
See Also:
checkPermission, Runtime.loadLibrary(java.lang.String), Runtime.load(java.lang.String), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkListen(int port)
See Also:
checkPermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkMemberAccess(Class<?> clazz,
                              int which)
See Also:
checkPermission, Member, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkMulticast(InetAddress maddr)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public void checkMulticast(InetAddress maddr,
                                      byte ttl)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPackageAccess(String pkg)
See Also:
checkPermission, getProperty, loadClass, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPackageDefinition(String pkg)
See Also:
checkPermission, getProperty, ClassLoader.loadClass(java.lang.String, boolean), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPermission(Permission perm)
See Also:
NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPermission(Permission perm,
                            Object context)
See Also:
AccessControlContext.checkPermission(java.security.Permission), getSecurityContext(), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPrintJobAccess()
See Also:
checkPermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPropertiesAccess()
See Also:
checkPermission, System.setProperties(java.util.Properties), System.getProperties(), SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkPropertyAccess(String key)
See Also:
checkPermission, System.getProperty(java.lang.String), IllegalArgumentException, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkRead(FileDescriptor fd)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkRead(String file)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkRead(String file,
                      Object context)
See Also:
AccessControlContext.checkPermission(java.security.Permission), getSecurityContext(), NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkSecurityAccess(String target)
See Also:
checkPermission, IllegalArgumentException, NullPointerException, SecurityException, SecurityPermission
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkSetFactory()
See Also:
checkPermission, setURLStreamHandlerFactory, setSocketImplFactory, setSocketFactory, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkSystemClipboardAccess()
See Also:
checkPermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean checkTopLevelWindow(Object window)
See Also:
checkPermission, Window, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkWrite(FileDescriptor fd)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void checkWrite(String file)
See Also:
checkPermission, NullPointerException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected int classDepth(String name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected int classLoaderDepth()
See Also:
checkPermission, getSystemClassLoader, AccessController.doPrivileged(java.security.PrivilegedAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected ClassLoader currentClassLoader()
See Also:
checkPermission, getSystemClassLoader, AccessController.doPrivileged(java.security.PrivilegedAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected Class<?> currentLoadedClass()
See Also:
checkPermission, getSystemClassLoader, AccessController.doPrivileged(java.security.PrivilegedAction)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Class[] getClassContext()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
public boolean getInCheck()
See Also:
inCheck
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getSecurityContext()
See Also:
AccessControlContext, checkRead, checkConnect
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public ThreadGroup getThreadGroup()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected boolean inCheck
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected boolean inClass(String name)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


@Deprecated
protected boolean inClassLoader()
See Also:
currentClassLoader
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public SecurityManager()
See Also:
RuntimePermission, checkPermission, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags