getLdapRefName() Get the name of the LDAP source from LdapServices to use.
int
getLdaptimelimit() Get the time limit for LDAP queriues, in milliseconds.
Zero has the special meaning of no time limit.
time limit for ldap queries, in milliseconds.
Get the time limit for LDAP queriues, in milliseconds.
Zero has the special meaning of no time limit.
time limit for ldap queries, in milliseconds. Zero means no time limit.
Get the name of the RDBMServices-configured DataSource this PersonDirInfo
indicates we should use. Returns null if this PDI does not indicate we should
use an RDBMServices-configured DataSource.
the name of the RDBMServices-configured DataSource we should use.
Get the parameterized JDBC or LDAP query - the single query parameter
should be the user identifier.
LDAP or JDBC query parameterized by user identifier
Set the name of the class to use as the JDBC driver for a directly-configured
JDBC PersonDirInfo.
Parameters: driver - The driver to set. throws: IllegalStateException - if this is an LDAP or Res-Ref PDI.
Set the name of an LDAP resource to use from LdapServices.
Parameters: ldapRefName - The ldapRefName to set. throws: IllegalStateException - if ResRefName or url already set.
Set the time limit, in milliseconds, for LDAP query.
Special value of zero means no time limit.
Parameters: ldaptimelimit - The ldaptimelimit to set. throws: IllegalArgumentException - if ldaptimelimt param < 0 throws: IllegalStateException - if using JDBC.
Set the username to use to authenticate to the PersonDirInfo-configured
JDBC or LDAP source.
Throws IllegalStateException if this PDI represents using an RDBMServices
or LdapServices-configured datasource.
Parameters: logonid - The logonid to set. throws: IllegalStateException - if this is a ResRef or Ldap-ref source.
Set the name of an RDBMServices-configured DataSource against which
we should query for user attributes.
Parameters: resRefName - the name of an RDBMServices-configured DataSource. throws: IllegalArgumentException - if resRefName param is null throws: IllegalStateException - if url or ldapRefName already set
Set the ldap or JDBC url.
Parameters: url - The url to set. throws: IllegalArgumentException - if the URL doesn't start with jdbc or ldap. throws: IllegalStateException - if ldapRefName or ResRefName is already set.
Set the LDAP context in which users are to be found.
Parameters: usercontext - LDAP context for users throws: IllegalStateException - if this is a JDBC PDI.
Validate this object.
In the case where this object is insufficient to describe a source for
attributes, return a String describing the nature of the problem.
In the case where this object is valid, returns null.
Note that this method doesn't actually check that ResRefName or
ldapRefName refers to an actually configured resource.
null if valid or a String message describing problem