1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
package netscape.security;
public class PrivilegeManager extends Object {
public static final int PROPER_SUBSET = 1;
public static final int EQUAL = 2;
public static final int NO_SUBSET = 3;
public static final int SIGNED_APPLET_DBNAME = 4;
public static final int TEMP_FILENAME = 5;
private static PrivilegeManager thePrivilegeManager = null;
protected PrivilegeManager()
{
}
public void checkPrivilegeEnabled(netscape.security.Target target) throws netscape.security.ForbiddenTargetException
{
}
public void checkPrivilegeEnabled(netscape.security.Target target, Object o) throws netscape.security.ForbiddenTargetException
{
}
public static void enablePrivilege(String privilegeString) throws netscape.security.ForbiddenTargetException
{
}
public void enablePrivilege(netscape.security.Target target) throws netscape.security.ForbiddenTargetException
{
}
public void enablePrivilege(netscape.security.Target target, netscape.security.Principal principal) throws netscape.security.ForbiddenTargetException
{
}
public void enablePrivilege(netscape.security.Target target, netscape.security.Principal principal, Object o) throws netscape.security.ForbiddenTargetException
{
}
public void revertPrivilege(netscape.security.Target target)
{
}
public static void revertPrivilege(String privilegeString)
{
}
public void disablePrivilege(netscape.security.Target target)
{
}
public void disablePrivilege(String privilegeString)
{
}
public static void checkPrivilegeGranted(String privilegeString) throws netscape.security.ForbiddenTargetException
{
}
public void checkPrivilegeGranted(netscape.security.Target target) throws netscape.security.ForbiddenTargetException
{
}
public void checkPrivilegeGranted(netscape.security.Target target, Object o) throws netscape.security.ForbiddenTargetException
{
}
public void checkPrivilegeGranted(netscape.security.Target target, netscape.security.Principal principal, Object o) throws netscape.security.ForbiddenTargetException
{
}
public boolean isCalledByPrincipal(netscape.security.Principal principal, int dontknow)
{
return false;
}
public boolean isCalledByPrincipal(netscape.security.Principal principal)
{
return false;
}
public static netscape.security.Principal getSystemPrincipal()
{
return null;
}
public static netscape.security.PrivilegeManager getPrivilegeManager()
{
if (thePrivilegeManager == null) {
thePrivilegeManager = new PrivilegeManager();
}
return thePrivilegeManager;
}
public boolean hasPrincipal(Class cl, netscape.security.Principal principal)
{
return true;
}
public int comparePrincipalArray(netscape.security.Principal[] a, netscape.security.Principal[] b)
{
return 1;
}
public boolean checkMatchPrincipal(Class cl, int dontknow)
{
return true;
}
public boolean checkMatchPrincipal(netscape.security.Principal principal, int dontknow)
{
return true;
}
public boolean checkMatchPrincipal(Class cl)
{
return true;
}
public boolean checkMatchPrincipalAlways()
{
return true;
}
public netscape.security.Principal[] getClassPrincipalsFromStack(int n)
{
return null;
}
/*
public netscape.security.PrivilegeTable getPrivilegeTableFromStack();
{
}
*/
}
|