tomcat-users mailing list archives

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


anis wrote:

>Hi,
>
>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
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?
>  
>
You can't unless you create your own Realm (see: 
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/realm.html), but 
It may interfere with JBoss internal behaviour ( I don't know how JBoss 
works)

-- Jeanfrancois


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


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


Mime
View raw message