Java Doc for PersonDirInfo.java in  » Portal » uPortal_rel-2-6-1-GA » org » jasig » portal » services » persondir » support » legacy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » uPortal_rel 2 6 1 GA » org.jasig.portal.services.persondir.support.legacy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jasig.portal.services.persondir.support.legacy.PersonDirInfo

PersonDirInfo
class PersonDirInfo (Code)
Legacy PersonDirInfo bean.
author:
   andrew.petro@yale.edu
version:
   $Revision: 35515 $ $Date: 2005-04-06 08:31:40 -0700 (Wed, 06 Apr 2005) $
since:
   uPortal 2.5




Method Summary
public  booleanequals(Object other)
    
public  String[]getAttributealiases()
    
 String[]getAttributenames()
    
 StringgetDriver()
     Get the fully qualified class name of the JDBC driver to use.
 StringgetLdapRefName()
     Get the name of the LDAP source from LdapServices to use.
 intgetLdaptimelimit()
     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.
 StringgetLogonid()
     Get the username to use to authenticate to the PersonDirInfo-configured JDBC or LDAP source.
 StringgetLogonpassword()
     Get the password to authenticate to the LDAP or JDBC source.
 StringgetResRefName()
     Get the name of the RDBMServices-configured DataSource this PersonDirInfo indicates we should use.
 StringgetUidquery()
     Get the parameterized JDBC or LDAP query - the single query parameter should be the user identifier.
 StringgetUrl()
     Get the LDAP or JDBC url.
 StringgetUsercontext()
     Get the context in which users are to be found.
 booleanisJdbc()
    
 booleanisLdap()
    
 voidsetAttributealiases(String[] attributealiases)
    
 voidsetAttributenames(String[] attributenames)
    
 voidsetDriver(String driver)
     Set the name of the class to use as the JDBC driver for a directly-configured JDBC PersonDirInfo.
 voidsetLdapRefName(String ldapRefName)
     Set the name of an LDAP resource to use from LdapServices.
 voidsetLdaptimelimit(int ldaptimelimit)
     Set the time limit, in milliseconds, for LDAP query.
 voidsetLogonid(String logonid)
     Set the username to use to authenticate to the PersonDirInfo-configured JDBC or LDAP source.
 voidsetLogonpassword(String logonpassword)
     Set the password to use to authenticate to the LDAP or JDBC source.
 voidsetResRefName(String resRefName)
     Set the name of an RDBMServices-configured DataSource against which we should query for user attributes.
 voidsetUidquery(String uidquery)
     Set the LDAP or JDBC uid query.
 voidsetUrl(String url)
     Set the ldap or JDBC url.
 voidsetUsercontext(String usercontext)
     Set the LDAP context in which users are to be found.
public  StringtoString()
    
 Stringvalidate()
     Validate this object.



Method Detail
equals
public boolean equals(Object other)(Code)



getAttributealiases
public String[] getAttributealiases()(Code)
Returns the attributealiases.



getAttributenames
String[] getAttributenames()(Code)
Returns the attributenames.



getDriver
String getDriver()(Code)
Get the fully qualified class name of the JDBC driver to use. fully qualified class name of JDBC driver.



getLdapRefName
String getLdapRefName()(Code)
Get the name of the LDAP source from LdapServices to use. Returns the ldapRefName, or null if not set.



getLdaptimelimit
int getLdaptimelimit()(Code)
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.



getLogonid
String getLogonid()(Code)
Get the username to use to authenticate to the PersonDirInfo-configured JDBC or LDAP source. the username for authenticating to the soruce



getLogonpassword
String getLogonpassword()(Code)
Get the password to authenticate to the LDAP or JDBC source. the password



getResRefName
String getResRefName()(Code)
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.



getUidquery
String getUidquery()(Code)
Get the parameterized JDBC or LDAP query - the single query parameter should be the user identifier. LDAP or JDBC query parameterized by user identifier



getUrl
String getUrl()(Code)
Get the LDAP or JDBC url. Returns the url.



getUsercontext
String getUsercontext()(Code)
Get the context in which users are to be found. the context in which users are to be found.



isJdbc
boolean isJdbc()(Code)
Does this PersonDirInfo instance represent information about a JDBC information source? true if a JDBC source, false otherwise



isLdap
boolean isLdap()(Code)
Does this PersonDirInfo instance represent information about an LDAP information source? true if a LDAP source, false otherwise



setAttributealiases
void setAttributealiases(String[] attributealiases)(Code)

Parameters:
  attributealiases - The attributealiases to set.



setAttributenames
void setAttributenames(String[] attributenames)(Code)

Parameters:
  attributenames - The attributenames to set.



setDriver
void setDriver(String driver)(Code)
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.



setLdapRefName
void setLdapRefName(String ldapRefName)(Code)
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.



setLdaptimelimit
void setLdaptimelimit(int ldaptimelimit)(Code)
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.



setLogonid
void setLogonid(String logonid)(Code)
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.



setLogonpassword
void setLogonpassword(String logonpassword)(Code)
Set the password to use to authenticate to the LDAP or JDBC source.
Parameters:
  logonpassword - password to directly configured source



setResRefName
void setResRefName(String resRefName)(Code)
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



setUidquery
void setUidquery(String uidquery)(Code)
Set the LDAP or JDBC uid query.
Parameters:
  uidquery - The uidquery to set.
throws:
  IllegalArgumentException - if param uidquery is null.



setUrl
void setUrl(String url)(Code)
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.



setUsercontext
void setUsercontext(String usercontext)(Code)
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.



toString
public String toString()(Code)



validate
String validate()(Code)
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



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

w__ww_.___jav___a__2___s.c___o___m_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.