Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

request.getUserprincipal() and my custom Principal

Hamidene, Anis Ben

2003-12-10


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@(protected)




©2008 junlu.com - Jax Systems, LLC, U.S.A.