D.8. Miscellaneous PackagesThis section lists security-related classes that appear in miscellaneous packages: permission classes, class loaders, and security managers.
Class Definitionpublic final class java.awt.AWTPermission extends java.security.BasicPermission { // Constructors public AWTPermission(String); public AWTPermission(String, String); } See also: BasicPermission, Permission
Class Definitionpublic final class java.io.FilePermission extends java.security.Permission implements java.io.Serializable { // Constructors public FilePermission(String, String); // Instance Methods public boolean equals(Object); public String getActions(); public int hashCode(); public boolean implies(Permission); public PermissionCollection newPermissionCollection(); } See also: Permission
Class Definitionpublic final class java.io.SerializablePermission extends java.security.BasicPermission { // Constructors public SerializablePermission(String); public SerializablePermission(String, String); } See also: BasicPermission, Permission
Class Definitionpublic abstract class java.lang.ClassLoader extends java.lang.Object { // Constructors protected ClassLoader(); protected ClassLoader(ClassLoader); // Class Methods public static ClassLoader getSystemClassLoader(); public static URL getSystemResource(String); public static InputStream getSystemResourceAsStream(String); public static Enumeration getSystemResources(String); // Instance Methods public ClassLoader getParent(); public URL getResource(String); public InputStream getResourceAsStream(String); public final Enumeration getResources(String); public Class loadClass(String); // Protected Instance Methods protected final Class defineClass(String, byte[], int, int); protected final Class defineClass(byte[], int, int); protected final Class defineClass(String, byte[], int, int, ProtectionDomain); protected Package definePackage(String, String, String, String, String, String, String, URL); protected Class findClass(String); protected String findLibrary(String); protected final Class findLoadedClass(String); protected Class findLocalClass(String); protected final Class findSystemClass(String); protected Package getPackage(String); protected Package[] getPackages(); protected synchronized Class loadClass(String, boolean); protected final void resolveClass(Class); protected final void setSigners(Class, Object[]); } See also: SecureClassLoader, URLClassLoader
Class Definitionpublic final class java.lang.RuntimePermission extends java.security.BasicPermission { // Constructors public RuntimePermission(String); public RuntimePermission(String, String); } See also: BasicPermission, Permission
Class Definitionpublic class java.lang.SecurityManager extends java.lang.Object { // Variables protected boolean inCheck; // Constructors public SecurityManager(); // Instance Methods public void checkAccept(String, int); public void checkAccess(Thread); public void checkAccess(ThreadGroup); public void checkAwtEventQueueAccess(); public void checkConnect(String, int); public void checkConnect(String, int, Object); public void checkCreateClassLoader(); public void checkDelete(String); public void checkExec(String); public void checkExit(int); public void checkLink(String); public void checkListen(int); public void checkMemberAccess(Class, int); public void checkMulticast(InetAddress); public void checkMulticast(InetAddress, byte); public void checkPackageAccess(String); public void checkPackageDefinition(String); public void checkPermission(Permission); public void checkPermission(Permission, Object); public void checkPrintJobAccess(); public void checkPropertiesAccess(); public void checkPropertyAccess(String); public void checkRead(FileDescriptor); public void checkRead(String); public void checkRead(String, Object); public void checkSecurityAccess(String); public void checkSetFactory(); public void checkSystemClipboardAccess(); public boolean checkTopLevelWindow(Object); public void checkWrite(FileDescriptor); public void checkWrite(String); public boolean getInCheck(); public Object getSecurityContext(); public ThreadGroup getThreadGroup(); // Protected Instance Methods protected native int classDepth(String); protected native int classLoaderDepth(); protected native ClassLoader currentClassLoader(); protected Class currentLoadedClass(); protected native Class[] getClassContext(); protected boolean inClass(String); protected boolean inClassLoader(); } See also: AccessController
Class Definitionpublic final class java.lang.reflect.ReflectPermission extends java.security.BasicPermission { // Constructors public ReflectPermission(String); public ReflectPermission(String, String); } See also: BasicPermission, Permission
Class Definitionpublic final class java.net.NetPermission extends java.security.BasicPermission { // Constructors public NetPermission(String); public NetPermission(String, String); } See also: BasicPermission, Permission
Class Definitionpublic final class java.net.SocketPermission extends java.security.Permission implements java.io.Serializable { // Constructors public SocketPermission(String, String); // Instance Methods public boolean equals(Object); public String getActions(); public int hashCode(); public boolean implies(Permission); public PermissionCollection newPermissionCollection(); } See also: Permission
Class Definitionpublic class java.net.URLClassLoader extends java.security.SecureClassLoader { // Constructors public URLClassLoader(URL[], ClassLoader); public URLClassLoader(URL[]); public URLCLassLoader(URL[], ClassLoader, URLStreamHandlerFactory); // Class Methods public static URLClassLoader newInstance(URL[]); public static URLClassLoader newInstance(URL[], ClassLoader); // Instance Methods public URL findResource(String); public Enumeration findResources(String); public URL[] getURLs(); // Protected Instance Methods protected void addURL(URL); protected Package definePackage(String, Manifest, URL); protected Class findClass(String); protected PermissionCollection getPermissions(CodeSource); } See also: ClassLoader, SecureClassLoader
Class Definitionpublic class java.rmi.RMISecurityManager extends java.lang.SecurityManager { // Constructors public RMISecurityManager(); // Instance Methods } See also: SecurityManager
Class Definitionpublic class java.rmi.server.RMIClassLoader extends java.lang.Object { // Class Methods public static Object getSecurityContext(ClassLoader); public static Class loadClass(String); public static Class loadClass(String, String); public static Class loadClass(URL, String); } See also: ClassLoader, SecureClassLoader
Class Definitionpublic final class java.util.PropertyPermission extends java.security.BasicPermission { // Constructors public PropertyPermission(String, String); // Instance Methods public boolean equals(Object); public String getActions(); public int hashCode(); public boolean implies(Permission); public PermissionCollection newPermissionCollection(); } See also: Permission Copyright © 2001 O'Reilly & Associates. All rights reserved. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|