I'm not LDAP expert too, but when I query ldap, and select all attributes for some object, there was a byte array object (for password).
Implementation LDAP is IBM Directory Server.
regards Martin


Joerg Heinicke wrote:

On 29.04.2004 15:05, grofcik.lan wrote:

Hello,

When I use LDAPTransformer (cocoon 2.1.4), I obtained ClassCastException when I try to pass byte array to
recodeFromLDAPEncoding((String) vals.nextElement()). Attribute password was represented as a byte array.


I changed the code in the LDAPTransformer to
recodeFromLDAPEncoding((String) vals.nextElement().toString()).

Is there any other (better) solution for this problem?


No, looks like a valuable solution. But I'm not familiar with LDAP. Where does the byte array come from?

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ Informacia od NOD32 1.574 (20031206) __________


Tato sprava bola preverena antivirusovym systemom NOD32.
http://www.eset.sk




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to