NonStop Servlets for JavaServer Pages (5.0) System Administrator's Guide
NSJSP Container Objects
NonStop Servlets for JavaServer Pages (NSJSP) System Administrator’s Guide—525644-002
C-24
Realm Object
digest (String)
Specifies name of the MessageDigest algorithm that encodes passwords in the
database, or specifies a zero-length string for no encoding. The default is no
digest.
roleBase (String)
The base element for role searches. If not specified, the top-level element in the
directory context is used.
roleName (String)
The name of the directory server attribute which contains the role name.
roleSearch (String)
The LDAP search pattern to use for selecting roles in the JNDIRealm. This pattern
should follow the syntax supported by the java.text.MessageFormat class.
You may use {0} to substitute the distinguished name and {1} to substitute the
username of the user whose roles you are searching.
roleSubtree (boolean)
Specifies whether role searches search sub trees of the element selected by
roleBase. The default is false.
userBase (String)
The base element for user searches.
userPassword (String)
The directory-server attribute name (in the user element) that contains the clear
text or digested user password (depending on the setting of the digest attribute).
userPattern (String)
The pattern for the distinguished name (DN) of the user's directory entry, with {0}
marking where the actual username should be inserted. You can use this property
instead of userSearch, userSubtree, and userBase when the distinguished name
contains the username and is otherwise the same for all users.
userRoleName (String)
Specifies the name of an attribute in the user's directory entry containing zero or
more values for the names of roles assigned to this user. In addition, you can use
the roleName property to specify the name of an attribute to be retrieved from
individual role entries found by searching the directory. If userRoleName is not
specified, all the roles for a user derive from the role search.