|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Access | |
wt.security | The wt.security package gets jarred into wt/security/security.jar, which
is signed so that this package may be used within a security manager,
namely the Applet sandbox, to perform operations which are not typically
allowed to non-signed code. Each of the
Access subclasses
wrap a java.XXX api to give applets access to these operations. Use the
getXXXAccess factory method to retrieve an Access instance to perform
these calls. For example, FileAccess .getFileInputStream()
wraps java.io.FileInputStream to give applets the ability to read files
on the local system. Additional prompts are displayed to the user for
each of these types of operations (the grant/deny dialog you see when
trying to upload/download content) per codebase, so that a "rogue"
system can not get a copy of the security.jar and perform
out-of-the-sandbox operations silently. |
Uses of Access in wt.security |
Subclasses of Access in wt.security | |
class |
AWTAccess
|
(package private) class |
AWTAccess_plugin
|
class |
FileAccess
Class that provides wrappers to priviledged file methods using the wt.security package. |
(package private) class |
FileAccess_plugin
|
class |
NetAccess
Class that provides wrappers to priviledged network methods using the wt.security package. |
(package private) class |
NetAccess_plugin
|
class |
PropAccess
Class that provides wrappers to priviledged property methods using the wt.security package. |
(package private) class |
PropAccess_plugin
|
class |
RuntimeAccess
Class that provides wrappers to priviledged runtime methods using the wt.security package. |
(package private) class |
RuntimeAccess_plugin
|
class |
ThreadAccess
|
(package private) class |
ThreadAccess_plugin
|
Methods in wt.security that return Access | |
(package private) static Access |
Access.getAccessImpl(String className)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |