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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]