tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject RE: Re[2]: tomcatAuthentication="false" and getRemoteUser returning null in recent versions of Tomcat
Date Thu, 23 Jan 2003 04:24:09 GMT

Notice that you misspelled tomcatAuthentication.  You wrote:

request.tomcatAuthenticatoin=false

It should be

request.tomcatAuthentication=false

Jake

At 12:58 AM 1/23/2003 +0100, you wrote:
>Ok,
>
>    Sorry about the laguage.
>
>    My Apache version is 2.0.43 and Tomcat 4.1.18. I have a servlets path
>with the web.xml file with the authentication configuration in this way:
>
>
><security-constraint>
>  <display-name>Example Security Constraint</display-name>
>  <web-resource-collection>
>  <web-resource-name>Protected Area</web-resource-name>
>  <url-pattern>/*</url-pattern>
>  <http-method>DELETE</http-method>
>  <http-method>GET</http-method>
>  <http-method>POST</http-method>
>  <http-method>PUT</http-method>
>  </web-resource-collection>
>  <auth-constraint>
>  <role-name>tomcat</role-name>
>  </auth-constraint>
></security-constraint>
><login-config>
>  <auth-method>BASIC</auth-method>
>  <realm-name>BASIC Authentication</realm-name>
></login-config>
><security-role>
><role-name>tomcat</role-name>
></security-role>
>
>And in my jk2.properties file I have this entry:
>request.tomcatAuthenticatoin=false.
>
>But, tomcat asks me for the login!
>My users are authenticated throw Apache, and I want to use this logins
>with my servlets.
>
>Thank you
>
>Aleix
>
>-----Mensaje original-----
>De: Ignacio J. Ortega [mailto:nacho@siapi.es]
>Enviado el: jueves, 23 de enero de 2003 0:36
>Para: 'Tomcat Users List'
>Asunto: RE: Re[2]: tomcatAuthentication="false" and getRemoteUser
>returning null in recent versions of Tomcat
>
>Aleix,
>
> >
> > Hola Ignacio,
> >
> >     He estado probando exactamente lo que vosotrois comentais, pero
> > Tomcat me sigue pidiendo que entre login i password.
> >       Alguna idea?
> >
>
>No entiendo bien, estas seguro de que quien pide el password es tomcat y
>no el servidor de http?
>
>Un poco de informacion  sobre tu configuracion ayudaria un tanto, IIS?
>Apache? version tomcat? etc etc
>
>Y mejor en ingles en adelante.. asi se entera todo el mundo..
>
> >       Gracias
> >
> > Aleix
> >
>
>Saludos,
>Ignacio J. Ortega
>
>--
>To unsubscribe, e-mail:
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message