I work in an environment where we have many different applications deployed to jboss using hibernate as persistence engine. We add a new application every couple of weeks.
It would be nice to be able to deploy the application without having to restart JBoss.
(I am creating an EAR file per application with it's own loader in jboss...
My config: j2sdk1.4.2_02, hibernate-2.1.1, jboss-3.2.2)
But there is a problem with JAAS... every application must validate security throught JAAS using a Database validation
(using custom login of jboss org.jboss.security.ClientLoginModule and org.jboss.security.auth.spi.DatabaseServerLoginModule)
Is it possible to 'hot deploy' a JAAS login module or configuration for my new published apps?
Do I have to create a SAR or something inside a specific path in the EAR file?
I am not a JAAS guru and I would be curious to know if this is not possible or if it has just not been done yet.
Please help
thanks.
|