You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Hamidene, Anis Ben" <A....@dzbw.de> on 2003/12/10 16:25:52 UTC

request.getUserprincipal() and my custom Principal

Hi,
 
I am using JBoss 3.2.1 with 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 !!!

Mit freundlichen Grüßen

--------------------------------------------------
Dipl. Ing. Anis Ben Hamidene
Datenzentrale Baden-Württemberg

pers. Tel:  0711-8108700
Fax: 0711-8108-542
pers. Email: A.Hamiden@dzbw.de