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

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide525644-002
3-44
UserDatabaseRealm
digest
The digest algorithm used to store passwords in non-plain text formats. Valid
values are those accepted for the algorithm name by the
java.security.MessageDigest class. See Digested Passwords on page 3-45
for more information. If not specified, passwords are stored in clear text.
roleNameCol
Specifies the name of the column in the User RoleTable where the name of a role
assigned to this user.
userCredCol
Specifies the name of the column in the Users Table where the user's password is
kept.
userNameCol
Specifies the name of the column in the user Table where the user's name is kept.
userRoleTable
Specifies the location of the User Role Table.
userTable
Specifies the location of the Users Table.
For more information about configuring DataSourceRealm, see the Tomcat 5.0
Specification at
http://jakata.apache.org/tomcat/tomcat-5.0-doc.index.html.
UserDatabaseRealm
UserDatabaseRealm is an implementation of NSJSP's Realm interface that uses a
defined naming resource of org.apache.catalina.UserDatabase type. In fact,
there is a UserDatabase Realm added to the iTP_server.xml configuration file at
the product installation. Example 3-30
shows an example configuring
UserDatabaseRealm.
UserDatabaseRealm Element Attributes
To configure UserDataBaseRealm, create a <Realm> element and nest it in your
$NSJSP_HOME/conf/iTP_server.xml file or in the <Context> element in the
context configuration file, as in Example 3-20. The following attributes are supported
for DataSourceRealm.
Example 3-30. UserDatabaseRealm
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="myOwnUserDatabase"/>