Stefan Seelmann wrote:
sahul wrote:File usercertFile=new File("C:/Documents and Settings/Desktop/Certificates/aaa.cer"); attributes.put("userCertificate",usercertFile);You can't add the File object to the attributes, but the content of the file as byte[]. You could use org.apache.commons.io.FileUtils.readFileToByteArray(File) to read the file.
Yeah, you are probably right Kiran.
Kind Regards, Stefan
-- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org
