tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Lynch <...@sgi.com>
Subject Re: Authentication isn't working with mod_jk 1.7.3 beta.
Date Fri, 17 Dec 2004 16:00:33 GMT
Also, because I found this in the localhost_log.2004.... file:

2004-12-17 09:45:15 Authenticator[/resources]: Security checking request 
GET /resources/input
2004-12-17 09:45:15 Authenticator[/resources]:   Checking constraint 
'SecurityConstraint[resources, resources1, resources2, resources3, 
resources4]' against GET /input --> true
2004-12-17 09:45:15 Authenticator[/resources]:  Subject to constraint 
SecurityConstraint[resources, resources1, resources2, resources3, 
resources4]
2004-12-17 09:45:15 Authenticator[/resources]:  Calling checkUserData()
2004-12-17 09:45:15 Authenticator[/resources]:   User data constraint 
has no restrictions
2004-12-17 09:45:15 Authenticator[/resources]:  Calling authenticate()
2004-12-17 09:45:15 Authenticator[/resources]:  Failed authenticate() test

That seems to tell me Tomcat saw something.

Jim.

To recap, if I go to http://xxx:8080/resources/input it works, if I go 
to http://xxx/resources/input it fails without ever showing me the basic 
authentication popup login window.  The full error message from the 
browser is :


  HTTP Status 401 -

------------------------------------------------------------------------

*type* Status report

*message*

*description* _This request requires HTTP authentication ()._

------------------------------------------------------------------------


      Apache Tomcat/4.1.24


  Authorization Required

This server could not verify that you are authorized to access the 
document requested. Either you supplied the wrong credentials (e.g., bad 
password), or your browser doesn't understand how to supply the 
credentials required.

Additionally, a 401 Authorization Required error was encountered while 
trying to use an ErrorDocument to handle the request.

------------------------------------------------------------------------
Apache/2.0.40 Server at xxx.sgi.com Port 80



Cox, Charlie wrote:

>Are you sure Apache is not blocking your request? Enable the AccessLogValve
>on tomcat and see if your request is getting through.
>
>Charlie
>
>  
>
>>-----Original Message-----
>>From: Jim Lynch [mailto:jwl@sgi.com]
>>Sent: Thursday, December 16, 2004 8:28 AM
>>To: Tomcat Users List
>>Subject: Re: Authentication isn't working with mod_jk 1.7.3 beta.
>>
>>That's quite possible but not helpful.  The configuration is identical
>>in essence to a working version on apache 1.3. Can anyone tell me what
>>the differences are between the two are?
>>
>>Jim.
>>
>>Mladen Turk wrote:
>>
>>    
>>
>>>Jim Lynch wrote:
>>>
>>>      
>>>
>>>>I finally got mod_jk to comple on RH 9 for Apache 2, but the
>>>>authentication doesn't work through the connector.
>>>>        
>>>>
>>>This simply is not true.
>>>It works very fine, and the authentication window is showed
>>>to the user. Check your config.
>>>
>>>
>>>Mladen.
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>    
>>
>
>  
>

---------------------------------------------------------------------
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