anonymous wrote : How can I access an ejb which resides in another ear file 
from My LoginModule? For validating my user I want to use an existing EJB 
method call. 
Wouldn't that be a re-entrant call ? You are trying to secure a resource, but 
as a part of the login, you are trying to access the resource you are trying to 
protect !!!! It will be a circularity. To solve this , cut the ejb out of the 
picture from the LoginModule & use a simple, straight database call. Once 
authenticated, ejb's are protected by this Principal. Also LoginModule is for 
the entire server, not a particular EAR


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172712
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to