Although I havn't tried it, I guess yes. I think you have to define your own RequestWrapper that lets you set the principal.
> -----Original Message----- > From: Oliver Wulff [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2003 2:42 PM > To: [EMAIL PROTECTED] > Subject: user principal, realm > > > Can I implement a filter which sets the current principal, so > that calls to > request.getUserPrincipal().getName() succeed? > > In our company, an apache server in front of tomcat authenticates the > client and delegates the user principal as an http header attribute. > I want to read this principal and set the user principal in a filter. > Can I do this? > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]