
This demo creates a Servlet for managing the Java Permissions. For an
introduction to the use of Java Permissions in JServer see chapter 5
of "Oracle9i Java Developer's Guide".  It is not a product, but using
it, is easier than the mechanisms described in that book.

This demo requires that the XDB feature have been configured in the database
prior to attempting the servlet setup. Refer to XML Database Developer's Guide
for instructions on installing the XDB feature. 

To install the Servlet you should edit the Makefile as appropriate for
you local environment and then do make.  The edit's may include
changing the value of USER to the correct password for SYS and adding the 
appropriate utilites for creating the xml setup script.

The servlet uses http authentication based on database users
to determine the privileges a user will have as far as policytable
administration is concerned. The dba or java_admin roles are required to 
add entries in the policy table. 

The servlet's location will be http://<host>:PORTNUM/security/policy.
PORTNUM is the port number where the http service has been configured for 
XDB. By default PORTNUM is 8080.

The page it displays has two parts.  At the top are some forms that
can be used to modify the policy table.  Below that are the current
contents of the table. Each row of the lower part has a button labeled
either "enable" or "disable" which will toggle the status of the row.
It also has a button labeled "select".  Clicking on "select" will
populate the forms in the first part with the contents of the rows.
Since most rows you want to create are similar to some existing row it
is usally easier to go to some row, click on "select" and then edit
the forms than to enter all the information directly.

