[ http://issues.apache.org/jira/browse/COCOON-1066?page=comments#action_12365711 ]
Jean-Baptiste Quenot commented on COCOON-1066: ---------------------------------------------- Reading the code, I'm wondering why "AttributesImpl attr" is constructed only once for all search results. Javadoc for AttributesImpl says that « this method does no checking to see if the attribute is already in the list: that is the responsibility of the application » See http://java.sun.com/j2se/1.5.0/docs/api/org/xml/sax/helpers/AttributesImpl.html#addAttribute(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) Am I wrong? > [PATCH] LDAPTransformer enhancements > ------------------------------------ > > Key: COCOON-1066 > URL: http://issues.apache.org/jira/browse/COCOON-1066 > Project: Cocoon > Type: Improvement > Components: Blocks: Naming > Versions: 2.1.8 > Environment: Operating System: All > Platform: All > Reporter: David L. Day > Assignee: Jean-Baptiste Quenot > Priority: Minor > Attachments: LDAPTransformer.java.diff, LDAPTransformer.java.patch > > This patch addresses 2 issues through the addition of 2 elements in the > LDAPTransformer (LDAPTransformer.java): > dn-element: > Provide element containing the DN for each entry returned in 'execute-query'. > This is accomplished via 'dn-element' element that defaults to 'dn'. This > element is only valid in 'execute-query'. > securityprotocol: > Provide a mechanism for those using JDK prior to 1.4.2 to access LDAP via > SSL. > This is accomplished via an optional 'securityprotocol' element that is empty > (unused) by default. Please see > http://java.sun.com/products/jndi/tutorial/ldap/security/ssl.html for more > information on the JDK differences WRT LDAP via SSL. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
