tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject RE: user principal, realm
Date Tue, 01 Apr 2003 12:50:12 GMT
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:oliver.wulff@zurich.ch]
> Sent: Tuesday, April 01, 2003 2:42 PM
> To: tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message