[jboss-user] [Security & JAAS/JBoss] - Re: JAAS Authentication from stand alone client

ragavgomatam do-not-reply at jboss.com
Tue Aug 26 18:54:44 EDT 2008


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



More information about the jboss-user mailing list