Using persistence from JAAS LoginModule

2013-06-02 Thread Dimitri
Hi, I'm wondering what are the best practices for using JPA in JAAS LoginModules. In my scenario, a custom JAAS LoginModule will be used via org.apache.catalina.realm.JAASRealm. The LoginModule should operate relational data, so I'm looking for using JPA. The realm will be shared by several

Re: Using persistence from JAAS LoginModule

2013-06-02 Thread Romain Manni-Bucau
PS: http://rmannibucau.wordpress.com/2012/08/27/tomee-put-your-realm-in-your-webapp/ Le 2 juin 2013 22:36, Romain Manni-Bucau rmannibu...@gmail.com a écrit : Hi Using lazy realm you should be able to get cdi easily in your realm Le 2 juin 2013 21:51, Dimitri mi...@cargosoft.ru a écrit : Hi,

Re: Using persistence from JAAS LoginModule

2013-06-02 Thread Romain Manni-Bucau
Sso is at tomcat level but youll get N realms sharing tomcat notes Le 3 juin 2013 00:19, Dimitri mi...@cargosoft.ru a écrit : Not really just deploy the same n times And there will be physically only one instance of JAASRealm, and SSO will work between those apps? Did I get it right? Le 3

Re: TomEE plans for Java EE 7

2013-06-02 Thread Romain Manni-Bucau
Let me play of the bet game and say jaxrs will be the fastest ;). It is almost already in the box and the easier to integrate (thks cxf). All projects are not linked excepted tomcat and websockets where we have to work at tomee level and not openejb. That s why i see it as the first step in our