|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.services.persondir.support.legacy.PersonDirInfo
class PersonDirInfo
Legacy PersonDirInfo bean.
| Field Summary | |
|---|---|
private java.lang.String[] |
attributealiases
Names of attributes in uPortal. |
private java.lang.String[] |
attributenames
Names of attributes in the underlying attribute source. |
private java.lang.String |
driver
JDBC java class to register |
private java.lang.String |
ldapRefName
Name of an LDAP resource configured in LdapServices. |
private int |
ldaptimelimit
timeout for LDAP in milliseconds. |
private java.lang.String |
logonid
database userid or LDAP user DN (if needed) |
private java.lang.String |
logonpassword
password |
private java.lang.String |
ResRefName
Resource Reference name for a J2EE style DataSource |
private java.lang.String |
uidquery
SELECT or JNDI query for userid |
private java.lang.String |
url
protocol, server, and initial connection parameters |
private java.lang.String |
usercontext
where are users? "OU=people" or "CN=Users" |
| Constructor Summary | |
|---|---|
PersonDirInfo()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
java.lang.String[] |
getAttributealiases()
|
(package private) java.lang.String[] |
getAttributenames()
|
(package private) java.lang.String |
getDriver()
Get the fully qualified class name of the JDBC driver to use. |
(package private) java.lang.String |
getLdapRefName()
Get the name of the LDAP source from LdapServices to use. |
(package private) int |
getLdaptimelimit()
Get the time limit for LDAP queriues, in milliseconds. |
(package private) java.lang.String |
getLogonid()
Get the username to use to authenticate to the PersonDirInfo-configured JDBC or LDAP source. |
(package private) java.lang.String |
getLogonpassword()
Get the password to authenticate to the LDAP or JDBC source. |
(package private) java.lang.String |
getResRefName()
Get the name of the RDBMServices-configured DataSource this PersonDirInfo indicates we should use. |
(package private) java.lang.String |
getUidquery()
Get the parameterized JDBC or LDAP query - the single query parameter should be the user identifier. |
(package private) java.lang.String |
getUrl()
Get the LDAP or JDBC url. |
(package private) java.lang.String |
getUsercontext()
Get the context in which users are to be found. |
(package private) boolean |
isJdbc()
Does this PersonDirInfo instance represent information about a JDBC information source? |
(package private) boolean |
isLdap()
Does this PersonDirInfo instance represent information about an LDAP information source? |
(package private) void |
setAttributealiases(java.lang.String[] attributealiases)
|
(package private) void |
setAttributenames(java.lang.String[] attributenames)
|
(package private) void |
setDriver(java.lang.String driver)
Set the name of the class to use as the JDBC driver for a directly-configured JDBC PersonDirInfo. |
(package private) void |
setLdapRefName(java.lang.String ldapRefName)
Set the name of an LDAP resource to use from LdapServices. |
(package private) void |
setLdaptimelimit(int ldaptimelimit)
Set the time limit, in milliseconds, for LDAP query. |
(package private) void |
setLogonid(java.lang.String logonid)
Set the username to use to authenticate to the PersonDirInfo-configured JDBC or LDAP source. |
(package private) void |
setLogonpassword(java.lang.String logonpassword)
Set the password to use to authenticate to the LDAP or JDBC source. |
(package private) void |
setResRefName(java.lang.String resRefName)
Set the name of an RDBMServices-configured DataSource against which we should query for user attributes. |
(package private) void |
setUidquery(java.lang.String uidquery)
Set the LDAP or JDBC uid query. |
(package private) void |
setUrl(java.lang.String url)
Set the ldap or JDBC url. |
(package private) void |
setUsercontext(java.lang.String usercontext)
Set the LDAP context in which users are to be found. |
java.lang.String |
toString()
|
(package private) java.lang.String |
validate()
Validate this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String url
private java.lang.String ResRefName
private java.lang.String ldapRefName
private java.lang.String driver
private java.lang.String logonid
private java.lang.String logonpassword
private java.lang.String usercontext
private java.lang.String uidquery
private int ldaptimelimit
private java.lang.String[] attributenames
private java.lang.String[] attributealiases
| Constructor Detail |
|---|
PersonDirInfo()
| Method Detail |
|---|
public java.lang.String[] getAttributealiases()
void setAttributealiases(java.lang.String[] attributealiases)
attributealiases - The attributealiases to set.java.lang.String[] getAttributenames()
void setAttributenames(java.lang.String[] attributenames)
attributenames - The attributenames to set.java.lang.String getDriver()
void setDriver(java.lang.String driver)
driver - The driver to set.
java.lang.IllegalStateException - if this is an LDAP or Res-Ref PDI.int getLdaptimelimit()
void setLdaptimelimit(int ldaptimelimit)
ldaptimelimit - The ldaptimelimit to set.
java.lang.IllegalArgumentException - if ldaptimelimt param < 0
java.lang.IllegalStateException - if using JDBC.java.lang.String getLogonid()
void setLogonid(java.lang.String logonid)
logonid - The logonid to set.
java.lang.IllegalStateException - if this is a ResRef or Ldap-ref source.java.lang.String getLogonpassword()
void setLogonpassword(java.lang.String logonpassword)
logonpassword - password to directly configured sourcejava.lang.String getResRefName()
void setResRefName(java.lang.String resRefName)
resRefName - the name of an RDBMServices-configured DataSource.
java.lang.IllegalArgumentException - if resRefName param is null
java.lang.IllegalStateException - if url or ldapRefName already setjava.lang.String getUidquery()
void setUidquery(java.lang.String uidquery)
uidquery - The uidquery to set.
java.lang.IllegalArgumentException - if param uidquery is null.java.lang.String getUrl()
void setUrl(java.lang.String url)
url - The url to set.
java.lang.IllegalArgumentException - if the URL doesn't start with jdbc or ldap.
java.lang.IllegalStateException - if ldapRefName or ResRefName is already set.java.lang.String getUsercontext()
void setUsercontext(java.lang.String usercontext)
usercontext - LDAP context for users
java.lang.IllegalStateException - if this is a JDBC PDI.boolean isJdbc()
boolean isLdap()
java.lang.String getLdapRefName()
void setLdapRefName(java.lang.String ldapRefName)
ldapRefName - The ldapRefName to set.
java.lang.IllegalStateException - if ResRefName or url already set.public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectjava.lang.String validate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||