Java Doc for LDAPEntryManager.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » naming » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.components.naming 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.components.naming.LDAPEntryManager

LDAPEntryManager
public class LDAPEntryManager extends AbstractLogEnabled implements EntryManager,Parameterizable,Disposable,Recyclable(Code)
The LDAPEntryManager is an Avalon Component for managing Entries in a Javax Naming Directory. This is the LDAP implementation of the org.apache.cocoon.components.naming.EntryManager EntryManager interface. This is designed to be used from FlowScript, it uses Maps instead of NamingEnumerations and Attributes.
author:
   Jeremy Quinn http://apache.org/~jeremy.
author:
   Example configuration (goes in cocoon.xconf)
author:
  

author:
   <component role="org.apache.cocoon.component.EntryManager" class="org.apache.cocoon.components.naming.LDAPEntryManager" logger="flow.ldap">
author:
   <parameter name="ldap-host" value="ldap://hostname:port"/>
author:
   <parameter name="ldap-base" value="dc=example,dc=com"/>
author:
   <parameter name="ldap-user" value="username"/>
author:
   <parameter name="ldap-pass" value="password"/>
author:
   </component>
author:
  



Field Summary
final protected static  StringLDAP_BASE_PARAM
    
final protected static  StringLDAP_HOST_PARAM
    
final protected static  StringLDAP_PASS_PARAM
    
final protected static  StringLDAP_USER_PARAM
    
protected  DirContextcontext
    
protected  Hashtableenvironment
    

Constructor Summary
public  LDAPEntryManager()
    

Method Summary
public  voidcreate(String name, Map attributes)
    
final public  voiddispose()
    
public  Mapfind(Map attributes)
    
public  Mapfind(String cntx, Map attributes)
    
public  Mapget(String name)
    
protected  voidinitialize()
    
public  voidmodify(String name, int mod_op, Map attributes)
    
public  voidparameterize(Parameters params)
    
final public  voidrecycle()
    
public  voidremove(String name)
    

Field Detail
LDAP_BASE_PARAM
final protected static String LDAP_BASE_PARAM(Code)



LDAP_HOST_PARAM
final protected static String LDAP_HOST_PARAM(Code)



LDAP_PASS_PARAM
final protected static String LDAP_PASS_PARAM(Code)



LDAP_USER_PARAM
final protected static String LDAP_USER_PARAM(Code)



context
protected DirContext context(Code)



environment
protected Hashtable environment(Code)




Constructor Detail
LDAPEntryManager
public LDAPEntryManager()(Code)




Method Detail
create
public void create(String name, Map attributes) throws ProcessingException(Code)
Creates a new Entry
Parameters:
  name - The name of the Entry to create
Parameters:
  attributes - The Map of Attributes to create it with



dispose
final public void dispose()(Code)



find
public Map find(Map attributes) throws ProcessingException(Code)
Finds Entries based on matching their Attributes
Parameters:
  attributes - The Attributes to match a Map of the results, each with a Map of their Attributes



find
public Map find(String cntx, Map attributes) throws ProcessingException(Code)
Finds Entries based on their Attributes
Parameters:
  cntx - The sub-context to search
Parameters:
  attributes - The Attributes to match a Map of the results, each with a Map of their Attributes



get
public Map get(String name) throws ProcessingException(Code)
Retrieves a named Entry's Attributes
Parameters:
  name - The name of the Entry to modify a Map of the Attributes



initialize
protected void initialize() throws Exception(Code)



modify
public void modify(String name, int mod_op, Map attributes) throws ProcessingException(Code)
Modifies an existing Entry
Parameters:
  name - The name of the Entry to modify
Parameters:
  mod_op - The modification mode to use
Parameters:
  attributes - The Map of modifications



parameterize
public void parameterize(Parameters params) throws ParameterException(Code)
Avalon, Parameterize this Class



recycle
final public void recycle()(Code)



remove
public void remove(String name) throws ProcessingException(Code)
Deletes an Entry
Parameters:
  name - The name of the Entry to delete



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.