Hi all,

I'm not too experienced in Java programming and I'm trying to write Java 
code that will get binary data from an LDAP attribute and Base64 encode 
it for a trip over the http wire. I can't seem to access the binary data 
from the Attribute object. How do I do it? What's the secret? I can see 
the byte array when I inspect the object in my IDE's debugger (Eclipse, 
in case anyone's interested) but I can't seem to cast the values into 
another object that is useful to me! I am using JDK 1.1.8 and JNDI 1.1.2 
  (for immutable business reasons and can't change) to access entries on 
a Netscape 4.x directory server.

Any help would be appreciated,

-J


Reply via email to