Custom-Principal 2004-01-07 - By Jeanfrancois Arcand
Back
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 (See http://cat-5.ora-code.com).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@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|