com.croftsoft.core.security.manager
Class NullSecurityManager
java.lang.Object
java.lang.SecurityManager
com.croftsoft.core.security.manager.NullSecurityManager
public class NullSecurityManager
- extends SecurityManager
Disables all security checks.
if ( System.getSecurityManager ( ) == null )
{
System.setSecurityManager ( new NullSecurityManager ( ) );
}
- Version:
- 1999-02-07
- Author:
- David Wallace Croft
Methods inherited from class java.lang.SecurityManager |
checkPermission, checkPermission, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullSecurityManager
public NullSecurityManager()
checkAccept
public void checkAccept(String host,
int port)
- Overrides:
checkAccept
in class SecurityManager
checkAccess
public void checkAccess(Thread t)
- Overrides:
checkAccess
in class SecurityManager
checkAccess
public void checkAccess(ThreadGroup g)
- Overrides:
checkAccess
in class SecurityManager
checkAwtEventQueueAccess
public void checkAwtEventQueueAccess()
- Overrides:
checkAwtEventQueueAccess
in class SecurityManager
checkConnect
public void checkConnect(String host,
int port)
- Overrides:
checkConnect
in class SecurityManager
checkConnect
public void checkConnect(String host,
int port,
Object context)
- Overrides:
checkConnect
in class SecurityManager
checkCreateClassLoader
public void checkCreateClassLoader()
- Overrides:
checkCreateClassLoader
in class SecurityManager
checkDelete
public void checkDelete(String file)
- Overrides:
checkDelete
in class SecurityManager
checkExec
public void checkExec(String cmd)
- Overrides:
checkExec
in class SecurityManager
checkExit
public void checkExit(int status)
- Overrides:
checkExit
in class SecurityManager
checkLink
public void checkLink(String libname)
- Overrides:
checkLink
in class SecurityManager
checkListen
public void checkListen(int port)
- Overrides:
checkListen
in class SecurityManager
checkMemberAccess
public void checkMemberAccess(Class clazz,
int which)
- Overrides:
checkMemberAccess
in class SecurityManager
checkMulticast
public void checkMulticast(InetAddress maddr)
- Overrides:
checkMulticast
in class SecurityManager
checkMulticast
public void checkMulticast(InetAddress maddr,
byte ttl)
- Overrides:
checkMulticast
in class SecurityManager
checkPackageAccess
public void checkPackageAccess(String pkg)
- Overrides:
checkPackageAccess
in class SecurityManager
checkPackageDefinition
public void checkPackageDefinition(String pkg)
- Overrides:
checkPackageDefinition
in class SecurityManager
checkPrintJobAccess
public void checkPrintJobAccess()
- Overrides:
checkPrintJobAccess
in class SecurityManager
checkPropertiesAccess
public void checkPropertiesAccess()
- Overrides:
checkPropertiesAccess
in class SecurityManager
checkPropertyAccess
public void checkPropertyAccess(String key)
- Overrides:
checkPropertyAccess
in class SecurityManager
checkRead
public void checkRead(FileDescriptor fd)
- Overrides:
checkRead
in class SecurityManager
checkRead
public void checkRead(String file)
- Overrides:
checkRead
in class SecurityManager
checkRead
public void checkRead(String file,
Object context)
- Overrides:
checkRead
in class SecurityManager
checkSecurityAccess
public void checkSecurityAccess(String action)
- Overrides:
checkSecurityAccess
in class SecurityManager
checkSetFactory
public void checkSetFactory()
- Overrides:
checkSetFactory
in class SecurityManager
checkSystemClipboardAccess
public void checkSystemClipboardAccess()
- Overrides:
checkSystemClipboardAccess
in class SecurityManager
checkTopLevelWindow
public boolean checkTopLevelWindow(Object window)
- Overrides:
checkTopLevelWindow
in class SecurityManager
checkWrite
public void checkWrite(FileDescriptor fd)
- Overrides:
checkWrite
in class SecurityManager
checkWrite
public void checkWrite(String file)
- Overrides:
checkWrite
in class SecurityManager
CroftSoft Core Javadoc (2008-09-28 20:58:02)