tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <>
Subject Re: Custom-Principal
Date Wed, 07 Jan 2004 16:33:14 GMT

anis wrote:

>I am using JBoss 3.2.3 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
>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?
You can't unless you create your own Realm (see:, but 
It may interfere with JBoss internal behaviour ( I don't know how JBoss 

-- Jeanfrancois

>Please help as soon as possible !!!
>Best regards 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message