[jboss-user] [Security & JAAS/JBoss] - getCallerPrincipal().getName() cached? with JBoss 5.0.0.GA
ti
do-not-reply at jboss.com
Mon Jan 19 08:31:43 EST 2009
Hi everybody
I'm logging the Name of the Principal and getting always the same Name
from the first Invocation of the Bean. The calls are made from a standalone
Client under different User Names.
| ...
| SessionContext ctx;
|
| public double getRate(CurrencyType from, CurrencyType to) {
|
| // get pricipal name
| System.out.println("getRate for user "
| + ctx.getCallerPrincipal().getName() );
|
| ...
| }
|
|
|
Any help is apprechiated.
Best Regards
Tom
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202868#4202868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202868
More information about the jboss-user
mailing list