Java SecurityManager Demonstrator

The Java SecurityManager can only be used within a Java application and cannot be demonstated within an applet. This applet can therefore only illustrate the selections made within the Java SecurityManager for such an application. The equivalent source code of such an application is viewable via the button below.
The SecurityManager Demonstrator has been set up to use the following three methods:
  • checkPropertyAccess (String key); - which requires an non-encrypted password of "secret"
  • checkRead (String file_name); - which requires a file name of "abcd.txt"
  • checkWrite (String file_name); -which requires a file name of "efgh.txt"
If these 3 methods are selected (as pre-selected) and the above parameters are specified correctly, the user will be allowed entry to the progam, otherwise not.

[Button_FCV]

Implemented by
John R. Oliver
Tel: +44 1494-488-409
E-Mail: john.r.oliver@btinternet.com

Java Class files updated
wef 11 Mar 2001.


[Return to Home Page] [Button JDA]