You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anis Ben Hamidene <an...@web.de> on 2003/12/17 13:36:55 UTC

Why not get my custom Principal using request.getUserprincipal()?

Hi,
 
I am using JBoss 3.2.1 with embedded Tomcat 4.
I am developping a secure web-application based on JAAS. The problem is that I want to use my own custom Principal.
I made the necessary changes in JBoss and EJBContext.getUserprincopal delivers the right Implementation.
But when I call request.getUserprincipal() in my servlet, I get don´t !!
 
Why doesn´t tomcat use the defined custom Principal?
How to set this?
 
Please help as soon as possible !!!

Best regards 
anis

______________________________________________________________________________
UNICEF bringt Kriegskinder in die Schule - helfen Sie mit! 
https://www.unicef.de/spe/spe_03.php


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org