[jboss-user] [JBoss jBPM] - IdentityLoginModule: how to inject IdentityService with Tomc

jmenendez do-not-reply at jboss.com
Fri Aug 17 13:15:53 EDT 2007


I am trying to integrate the jbpm IdentityLoginModule with the Tomcat JAAS Realm to authenticate users using the jbpm identity schema.

Looking at the IdentityLoginModule source code I saw that you need to inject the identityService to the IdentityLoginModule. How can I achieve this using Tomcat JAAS.

I guess the other alternative is to write my own IdentityLoginModule to use with the Tomcat JAAS Realm. How well this will work with the jbpm identity model?. 
Will I need two hibernate sessions then, one ofr JBPM processes and the other for JBPM identities for Tomcat to be able to instantiate my own LoginModule?. Will the ExpressionAssignmentHandler still work in that environment?




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075298#4075298

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075298



More information about the jboss-user mailing list