Sorry, but may be I'm a fool, but I didn't find how I can execute some particular code 
under different principal:-( I found method SecurityAssociation.pushRunAsRole(), but 
it seems that this method doesn't have a effect: SecurityAssociation.getPrincipal 
before and after returns the same principal.

Or please help me to resolve such problem: I want to use my entity EJBs in my 
particular LoginModule? Question is: when I try to invoke some method of ent.ejb from 
LoginModule I get SecurityException. And there is no surprise because I don't 
authentificate yet. To resolve this problem I used Subject.doAs methodology in 
weblogic server, but after switching to JBOSS server this method don't work and I'm 
confused and I can't find any approapriate method in JBOSS. Please help me! I read a 
lot of information regarding this problem in JBOSS, but I don't see a solution:(

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

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


-------------------------------------------------------
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

Reply via email to