Hi list,I'm developing a 3-tier system, and I want to distribute the desktop using the Java Webstart. Until now, I already did great progresses in my quest.
In the server side I'm deploying a web application using Spring, and I publish some services using RMI.
In the desktop, I'm using the Netbeans RCP, packaging all the code and libraries using the webstart-maven-plugin. To give the necessary permissions, I'm using the <sign></sign> configuration section, signing all the jars with a valid certificate, and everything works well.
But now some problems: I'm using hibernate, and the hibernate use the cglib library to do some bytecode manipulations. The code in the client side is signed, and the SecurityManager doesn't allow this unknown, runtime-generated code to run in the desktop. Every time I query the database and try to use one database mapped object, everything blows up.
To fix the mess, I did, manually, a war file with the domain libraries, hibernate.jar and cglib.jar signed. And everything worked!
But know I want to do automatically. Does someone know how to create a war where each dependency jar file is signed? Something like what the webstart-maven-plugin do while generating the jnlp application.
Thanks in advance, and I apologize my English mistakes. -- Fabio Braga de Oliveira Gerente de Projetos de Software Work: +55 19 3295-2111 Mobile: +55 19 9270-6574 E-mail: [EMAIL PROTECTED] Símula Sistemas de Planejamento e Comércio Ltda. Url: http://www.simula.com.br Address: Av. José Bonifácio, 2510 Zipcode 13093-240 Campinas - SP - Brazil
begin:vcard fn:Fabio Oliveira n:Oliveira;Fabio org;quoted-printable:S=C3=ADmula Sistemas de Planejamento e Com=C3=A9rcio Ltda. adr;quoted-printable:;;Av. Jos=C3=A9 Bonif=C3=A1cio, 2510;Campinas;SP;13093-240;Brazil email;internet:[EMAIL PROTECTED] title:Gerente de Projetos de Software tel;work:+55 19 3295-2111 tel;cell:+55 19 9270-6574 x-mozilla-html:FALSE url:http://www.simula.com.br version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
