void
|
checkAccept(String host, int port)
Throws a SecurityException if the
calling thread is not permitted to accept a socket connection from
the specified host and port number.
|
void
|
checkAccess(ThreadGroup g)
Throws a SecurityException if the
calling thread is not allowed to modify the thread group argument.
|
void
|
checkAccess(Thread t)
Throws a SecurityException if the
calling thread is not allowed to modify the thread argument.
|
void
|
checkAwtEventQueueAccess()
Throws a SecurityException if the
calling thread is not allowed to access the AWT event queue.
|
void
|
checkConnect(String host, int port)
Throws a SecurityException if the
calling thread is not allowed to open a socket connection to the
specified host and port number.
|
void
|
checkConnect(String host, int port, Object context)
Throws a SecurityException if the
specified security context is not allowed to open a socket
connection to the specified host and port number.
|
void
|
checkCreateClassLoader()
Throws a SecurityException if the
calling thread is not allowed to create a new class loader.
|
void
|
checkDelete(String file)
Throws a SecurityException if the
calling thread is not allowed to delete the specified file.
|
void
|
checkExec(String cmd)
Throws a SecurityException if the
calling thread is not allowed to create a subprocess.
|
void
|
checkExit(int status)
Throws a SecurityException if the
calling thread is not allowed to cause the Java Virtual Machine to
halt with the specified status code.
|
void
|
checkLink(String lib)
Throws a SecurityException if the
calling thread is not allowed to dynamic link the library code
specified by the string argument file.
|
void
|
checkListen(int port)
Throws a SecurityException if the
calling thread is not allowed to wait for a connection request on
the specified local port number.
|
void
|
checkMemberAccess(Class<?> clazz, int which)
Throws a SecurityException if the
calling thread is not allowed to access members.
|
void
|
checkMulticast(InetAddress maddr)
Throws a SecurityException if the
calling thread is not allowed to use
(join/leave/send/receive) IP multicast.
|
void
|
checkMulticast(InetAddress maddr, byte ttl)
This method is deprecated.
Use #checkPermission(java.security.Permission) instead
|
void
|
checkPackageAccess(String pkg)
Throws a SecurityException if the
calling thread is not allowed to access the package specified by
the argument.
|
void
|
checkPackageDefinition(String pkg)
Throws a SecurityException if the
calling thread is not allowed to define classes in the package
specified by the argument.
|
void
|
checkPermission(Permission perm)
Throws a SecurityException if the requested
access, specified by the given permission, is not permitted based
on the security policy currently in effect.
|
void
|
checkPermission(Permission perm, Object context)
Throws a SecurityException if the
specified security context is denied access to the resource
specified by the given permission.
|
void
|
checkPrintJobAccess()
Throws a SecurityException if the
calling thread is not allowed to initiate a print job request.
|
void
|
checkPropertiesAccess()
Throws a SecurityException if the
calling thread is not allowed to access or modify the system
properties.
|
void
|
checkPropertyAccess(String key)
Throws a SecurityException if the
calling thread is not allowed to access the system property with
the specified key name.
|
void
|
checkRead(String file)
Throws a SecurityException if the
calling thread is not allowed to read the file specified by the
string argument.
|
void
|
checkRead(FileDescriptor fd)
Throws a SecurityException if the
calling thread is not allowed to read from the specified file
descriptor.
|
void
|
checkRead(String file, Object context)
Throws a SecurityException if the
specified security context is not allowed to read the file
specified by the string argument.
|
void
|
checkSecurityAccess(String target)
Determines whether the permission with the specified permission target
name should be granted or denied.
|
void
|
checkSetFactory()
Throws a SecurityException if the
calling thread is not allowed to set the socket factory used by
ServerSocket or Socket , or the stream
handler factory used by URL .
|
void
|
checkSystemClipboardAccess()
Throws a SecurityException if the
calling thread is not allowed to access the system clipboard.
|
boolean
|
checkTopLevelWindow(Object window)
Returns false if the calling
thread is not trusted to bring up the top-level window indicated
by the window argument.
|
void
|
checkWrite(FileDescriptor fd)
Throws a SecurityException if the
calling thread is not allowed to write to the specified file
descriptor.
|
void
|
checkWrite(String file)
Throws a SecurityException if the
calling thread is not allowed to write to the file specified by
the string argument.
|
int
|
classDepth(String name)
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
int
|
classLoaderDepth()
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
ClassLoader
|
currentClassLoader()
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
Class<?>
|
currentLoadedClass()
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
Class[]
|
getClassContext()
Returns the current execution stack as an array of classes.
|
boolean
|
getInCheck()
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
Object
|
getSecurityContext()
Creates an object that encapsulates the current execution
environment.
|
ThreadGroup
|
getThreadGroup()
Returns the thread group into which to instantiate any new
thread being created at the time this is being called.
|
boolean
|
inClass(String name)
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|
boolean
|
inClassLoader()
This method is deprecated.
This type of security checking is not recommended.
It is recommended that the checkPermission
call be used instead.
|