You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Larry Isaacs <La...@sas.com> on 2002/06/26 20:32:09 UTC
RE: Tomcat 3.3.1: AJP13, tomcatAuthentication, and javax.servlet
.http.HttpServerRequest.isUserInRole(java.lang.String userName)
With "tomcatAuthentication='false'", I'm not aware of any way
to attach a role to the externally authenticated user. You
will have to implement your own "role" handling.
Also, if you are using IIS, I believe you will need IIS 5.0
and mod_jk from jakarta-tomcat-connectors for
HttpServletRequest.getRemoteUser() to work successfully.
Otherwise it always return null.
Cheers,
Larry
> -----Original Message-----
> From: Bradley M. Handy [mailto:bhandy@arbor.edu]
> Sent: Wednesday, June 26, 2002 1:47 PM
> To: Tomcat User
> Subject: Tomcat 3.3.1: AJP13, tomcatAuthentication, and
> javax.servlet.http.HttpServerRequest.isUserInRole(java.lang.St
> ring userName)
>
>
> When defining an AJP13 connector with
> "tomcatAuthentication='false'", is
> there a way to retrieve Role information about the remote
> user with the
> javax.servlet.http.HttpServerRequest.isUserInRole(java.lang.String
> userName) method?
>
> I've tried defining the user's role in an XML realm file, and that
> didn't seem to work.
>
> Bradley M. Handy
> Programmer/Analyst
> Spring Arbor University
>
mailto:bhandy@arbor.edu
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>