The question is how can I dynamicaly relogin during one request to the server? In some cases it's very important to have such possibility, for examples suppose that you have "User" entity bean. And this bean has "changePassword" method, which can be executed by "Administrator" or by user which is represented by this entity bean instance. And there is the way: temporary switch to "Administrator" user to perform this action. May be this example not so good(because this functionality may be implemented in such another way), but it is quite simple to understand. But it's seems that Subject.doAs, lc.login-lc.logout, pushRunAsRole don't work:(
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829231#3829231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829231 ------------------------------------------------------- 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
