wt.security
Class PrivilegeSet

java.lang.Object
  extended bywt.security.PrivilegeSet
Direct Known Subclasses:
PrivilegeSet_plugin

class PrivilegeSet
extends Object


Field Summary
private  Frame parentFrame
           
private static String PRIVILEGE_SET_FILENAME
           
private  Hashtable privileges
           
private  File privSetFile
           
private  Object securityContext
           
(package private) static boolean targetsEnabled
           
private static String WT_DIR
           
 
Constructor Summary
(package private) PrivilegeSet()
           
(package private) PrivilegeSet(File file)
           
 
Method Summary
(package private)  void checkAccess(Object[] capabilities)
           
(package private)  void checkAccess(Object[] capabilities, boolean useDialog)
           
(package private) static boolean enableAll()
           
(package private)  Enumeration enumeratePrivileges()
           
(package private)  Frame getParentFrame()
           
(package private)  Privileges getPrivileges()
           
(package private)  Privileges getPrivileges(Object key)
           
(package private)  Privileges getPrivileges(String nickname)
           
(package private)  String getSystemProperty(String key)
           
(package private) static PrivilegeSet newPrivilegeSet()
           
(package private) static PrivilegeSet newPrivilegeSet(File file)
           
(package private)  void print()
           
(package private)  void read()
           
(package private)  void setParentFrame(Frame parentFrame)
           
(package private)  void write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WT_DIR

private static final String WT_DIR
See Also:
Constant Field Values

PRIVILEGE_SET_FILENAME

private static final String PRIVILEGE_SET_FILENAME
See Also:
Constant Field Values

privSetFile

private File privSetFile

privileges

private Hashtable privileges

securityContext

private Object securityContext

parentFrame

private Frame parentFrame

targetsEnabled

static boolean targetsEnabled
Constructor Detail

PrivilegeSet

PrivilegeSet()

PrivilegeSet

PrivilegeSet(File file)
Method Detail

newPrivilegeSet

static PrivilegeSet newPrivilegeSet()

newPrivilegeSet

static PrivilegeSet newPrivilegeSet(File file)

enableAll

static boolean enableAll()

getSystemProperty

String getSystemProperty(String key)

getPrivileges

Privileges getPrivileges()

getPrivileges

Privileges getPrivileges(Object key)

getPrivileges

Privileges getPrivileges(String nickname)

enumeratePrivileges

Enumeration enumeratePrivileges()

checkAccess

void checkAccess(Object[] capabilities)
           throws WTSecurityException
Throws:
WTSecurityException

checkAccess

void checkAccess(Object[] capabilities,
                 boolean useDialog)
           throws WTSecurityException
Throws:
WTSecurityException

setParentFrame

void setParentFrame(Frame parentFrame)

getParentFrame

Frame getParentFrame()

read

void read()

write

void write()

print

void print()