NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide

Managing NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide674372-005
4-102
NSJSP Manager Operations
Data Source Realm
The DataSource Realm connects Catalina to a relational database, accessed
through a JNDI named JDBC DataSource to perform lookups of user names,
passwords, and their associated roles. Because the lookup is done each time that it is
required, changes to the database will be immediately reflected in the information used
to authenticate new logins.
The JDBC Realm uses a single database connection. This requires that realm based
authentication be synchronized, that is only one authentication can be done at a time.
This might be a bottleneck for applications with high volumes of realm based
authentications.
The DataSource Realm supports simultaneous realm based authentications and
allows the underlying JDBC DataSource to handle optimizations like database
connection pooling.
Figure 4-53 shows a screen of Data Source Realm.
User Name
Column
Indicates the name of the column, in the users
and user roles table, that contains the user's
user name.
Yes
User
Password
Column
Indicates the name of the column, in the users
table, which contains the user's credentials
(that is password). If a value for the digest
property is specified, this component will
assume that the passwords have been
encoded with the specified algorithm.
Otherwise, they will be assumed to be in clear
text.
Yes
Digest
Algorithm
Indicates the name of the MessageDigest
algorithm used to encode user passwords
stored in the database. If not specified, user
passwords are assumed to be stored in clear-
text.
Yes
User Role
Table
Indicates the name of the user roles table,
which must contain columns named by the
userNameCol and roleNameCol properties.
Yes
Role Name
Column
Indicates the name of the column, in the user
roles table, which contains a role name
assigned to the corresponding user.
Yes
Table 4-38. Property list for JDBC Realm
Property Description Modifiable
Default
Value