When some user try to login, he should come throw my own login module. This module needs to obtain information from EJB as, for example, `internal' user, so login module should in turn login as `internal' .
When I try to execute first LoginContext.login() (as `user'), it enters in my login module where I try to execute second LoginContext.login() (as `internal'). There are no errors after login() was executed, but when I try to use EJB as `internal' (after second login), I have a SecurityException. How can I implement this (If I understood previous posts correctly, I couldn't use doAs for executing code as `internal')? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829003#3829003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829003 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
