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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to