[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: Form Authentication Trouble with Firefox
From:       Peter Neu <peter.neu () gmx ! net>
Date:       2004-11-30 13:16:45
Message-ID: 41AC72BD.6070203 () gmx ! net
[Download RAW message or body]

Hi Bob,

I looked through the source of  AuthenticatorBase but could not find
the checkUserData method. It seems the whole thing has changed to
some degree in the last few releases.

Seems like I can't serve any Firefox clients.

Regards,

Peter


Bob Feretich schrieb:

> I have not examined Tomcat 5. My hosting provider doen't support it, yet.
>
> For Tomcat 4.1.21 (and may be the same for Tomcat 5):
> 1) Download the source tree from the jakarta.apache.org site.
> 2) AuthenticatorBase can be found at 
> catalina/src/share/org/apache/catalina/authenticator/
> 3) After you make your changes and compile, place the resulting 
> classes in the server/classes/org/apache/catalina/authenticator/ 
> directory of the Tomcat binary you are using. (The server directory is 
> a peer to the
> conf directory, where your server.xml file resides.)
> 4) I made these changes (you will probably have to modify them for 
> Tomcat5):
> protected boolean checkUserData(
> ...
> //  RF changes because Netscape will not return cookies from non secure
> //      if ((requestedSessionId != null) &&
> //             hrequest.isRequestedSessionIdFromURL()) {
>         if ((requestedSessionId != null) ) { // replaces above two lines
>             file.append(";jsessionid=");
>             file.append(requestedSessionId);
>         }
>         String queryString = hrequest.getQueryString();
>         if (queryString != null) {
>             file.append('?');
>             file.append(queryString);
>         }
>         URL url = null;
>         try {
> //       url = new URL(protocol, host, redirectPort, file.toString());
>          url = new URL(protocol, host, file.toString()); // replace above
> ...
>
> Good luck,
> Bob Feretich
>
> Peter Neu wrote:
>
>> Hi Bob,
>>
>>
>> I can't switch to https in this case (not a technical problem). So 
>> where do I have to apply the changes
>> you suggested in my Tomcat 5.0.28 ? Where can I find the 
>> AuthenticatorBase code? And what do I have to change?
>>
>> Regards,
>>
>> Swen
>>
>
>
>
> ---------------------------------------------------------------------
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic