[EMAIL PROTECTED] wrote:
Hello list,
Didier Rano wrote, that he found a bug in LDAPTransformer.
He is right, LDAPTransformer is not capable to read multi-valued ldap
attributes.
LDAPTransformer does only return the first value of a multi-valued ldap
attribute.
Aha! I tried it and it worked for me, but evidently, I didn't see this
bug...
I wrote a new version of LDAPTransformer, which does a traversal of the list of
values and introduces the new tag: <ldap:value-element>.
If value-element is not empty, each value will be enclosed by the given
value-element.
This is true for multi-valued and for single-valued ldap attributes.
There is an other feature in my version of LDAPTransformer:
<ldap:security-protocol>
The value of this element is used as property SECURITY_PROTOCOL.
So if you set it to "ssl", you will have a secure connection to the LDAP server.
This feature is absolutely necessary if you want to access Novell eDir, because
without
ssl only anonymous connections are allowed. And with anonymous connections
the access to the eDir is restricted.
Because this is my first Java program :-) I would like to find someone, who will
check which other "new features" I may have implemented.
No problem, send us the patch and I will take a look at it :-)
--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]