Hi,

I think I found a reason for my problem.

I have noticed that when I try to call a secure page in my App 
SecurityAssosciation.getPrincipal() sometimes  returns a Principal that is logged in 
another session/thread.

I have added a test output in the login page to see the contents of 
request.getUserprincipal()   and SecurityAssosciation.getPrincipal() .
Sometimes when another user is logged on, I get the following case:
request.getRemoteUser() : null  
request.getUserprincipal() : null  
SecurityAssosciation.getPrincipal(): anis 

Is this normal?



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

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


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to