001: package java.lang;
002:
003: import java.awt.AWTPermission;
004: import java.io.File;
005: import java.io.FileDescriptor;
006: import java.io.FilePermission;
007: import java.lang.reflect.Member;
008: import java.net.InetAddress;
009: import java.net.SocketPermission;
010: import java.security.AccessControlContext;
011: import java.security.AccessController;
012: import java.security.AllPermission;
013: import java.security.Permission;
014: import java.security.Security;
015: import java.security.SecurityPermission;
016: import java.util.PropertyPermission;
017:
018: public class SecurityManager {
019: protected boolean inCheck;
020:
021: public SecurityManager() {
022: }
023:
024: public boolean getInCheck() {
025: }
026:
027: protected Class[] getClassContext() {
028: }
029:
030: protected ClassLoader currentClassLoader() {
031: }
032:
033: protected Class currentLoadedClass() {
034: }
035:
036: protected int classDepth(String className) {
037: }
038:
039: protected int classLoaderDepth() {
040: }
041:
042: protected boolean inClass(String className) {
043: }
044:
045: protected boolean inClassLoader() {
046: }
047:
048: public Object getSecurityContext() {
049: }
050:
051: public void checkPermission(Permission perm) {
052: }
053:
054: public void checkPermission(Permission perm, Object context) {
055: }
056:
057: public void checkCreateClassLoader() {
058: }
059:
060: public void checkAccess(Thread thread) {
061: }
062:
063: public void checkAccess(ThreadGroup g) {
064: }
065:
066: public void checkExit(int status) {
067: }
068:
069: public void checkExec(String program) {
070: }
071:
072: public void checkLink(String filename) {
073: }
074:
075: public void checkRead(FileDescriptor desc) {
076: }
077:
078: public void checkRead(String filename) {
079: }
080:
081: public void checkRead(String filename, Object context) {
082: }
083:
084: public void checkWrite(FileDescriptor desc) {
085: }
086:
087: public void checkWrite(String filename) {
088: }
089:
090: public void checkDelete(String filename) {
091: }
092:
093: public void checkConnect(String host, int port) {
094: }
095:
096: public void checkConnect(String host, int port, Object context) {
097: }
098:
099: public void checkListen(int port) {
100: }
101:
102: public void checkAccept(String host, int port) {
103: }
104:
105: public void checkMulticast(InetAddress addr) {
106: }
107:
108: public void checkMulticast(InetAddress addr, byte ttl) {
109: }
110:
111: public void checkPropertiesAccess() {
112: }
113:
114: public void checkPropertyAccess(String key) {
115: }
116:
117: public boolean checkTopLevelWindow(Object window) {
118: }
119:
120: public void checkPrintJobAccess() {
121: }
122:
123: public void checkSystemClipboardAccess() {
124: }
125:
126: public void checkAwtEventQueueAccess() {
127: }
128:
129: public void checkPackageAccess(String packageName) {
130: }
131:
132: public void checkPackageDefinition(String packageName) {
133: }
134:
135: public void checkSetFactory() {
136: }
137:
138: public void checkMemberAccess(Class c, int memberType) {
139: }
140:
141: public void checkSecurityAccess(String action) {
142: }
143:
144: public ThreadGroup getThreadGroup() {
145: }
146:
147: void checkPackageList(String packageName, String restriction,
148: String permission) {
149: }
150: }
151:
152: class SecurityContext {
153: Class[] classes;
154:
155: SecurityContext(Class[] classes) {
156: }
157: }
|