NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator's Guide
Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.0 System Administrator’s Guide—544548-004
3-26
JDBCRealm
Your application is responsible for the administration of the information in the nsjsp-
users.xml file. The NSJSP container does not provide any built-in capabilities to
maintain users and roles.
For information on debugging and exception messages, see Logging in NSJSP 6.0 on
page 6-1.
JDBCRealm
JDBCRealm is an implementation of the NSJSP Realm interface that recognizes users
in a relational database accessed from a JDBC driver. The substantial configuration
flexibility lets you adapt to the existing table and column names, as long as your
database structure conforms to these requirements:
A users table must exist, as referenced in Example 3-11 on page 3-27. It must
contain one row for each valid user, which the Realm must recognize. The users
table must contain at least two columns (it can contain more depending on the
requirement of your existing application). The table must have the column
headings:
User name, to be recognized by the NSJSP container when the user logs in.
Password, to be recognized by the NSJSP container when the user logs in.
This value must be in clear text or encrypted as described in Digested
Passwords on page 3-39.
A userRole table must exist, as referenced in Example 3-11. It must contain one
row for each valid role that is assigned to a particular user. A user may have zero,
one, or more than one role. The userRole table must have at least two columns
(more if your existing applications require more) with the headings:
User name, to be recognized by the NSJSP container (the same value as
specified in the users table).
Role name of a valid role associated with this user.










