URL rewriting, cookies and form based auth
I can not get form based authentication to work with cookies turned off and using URL rewriting. I have set noCookie=true in the server.xml and I have tried several different variations of passing jessionid, all listed below. FORM METHOD=POST name=login ACTION=j_security_check INPUT TYPE=hidden NAME=jsessionid value=%=session.getId()%/ .. FORM METHOD=POST name=login ACTION=%=response.encodeURL(j_security_check)% .. FORM METHOD=POST name=login ACTION=j_security_check);jessionid=%=session.getId()% .. I have also tried all upper case for jessionid I want to use cookies, but I have to support people without, by using URL rewriting. Can I use cookies for people that have cookie enabled browsers, and URL rewriting for people that don't or is it one or the other. I really appreciate any help. Thanks, Zach H. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
RE: access log for Tomcat
I am trying to write this request interceptor but I am not sure what methods I need to implement. Can someone give me some advice on this? currently I have implemented the reqiestMap method. For my logging I want to be able to capture username, http response, ... So does it matter where I specify this interceptor in the server.xml file? In other words are the callbacks called at random or are they called in the order that they appear in the server.xml file? Other than the javadocs in the code is there any documentation on how to implement a RequestInterceptor? Thanks, Zach H. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat You would have to write the Java code yourself to implement this new RequestInterceptor. You could hard code all of the parameters for your logging into the code, or you could make them parameters from the server.xml file (which would be better), but this is a you do it all yourself kind of effort. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 9:27 AM To: '[EMAIL PROTECTED]' Subject: RE: access log for Tomcat I assume that this means that I have to do it all myself in terms of setting up different options to log? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 1:09 PM To: [EMAIL PROTECTED] Subject: RE: access log for Tomcat There isn't a module for Tomcat that does this that I know of (and nothing built into Tomcat, regardless of what Luba says), although it should be fairly easy to do - you need to write a RequestInterceptor that just logs, not intercepts, the requests. Randy -Original Message- From: David Rosenstark [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 17, 2001 7:45 AM To: '[EMAIL PROTECTED]' Subject: access log for Tomcat Is there some way to configure Tomcat to have a log of all web requests coming in similar to access_log in Apache? TIA, David ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
IIS tomcat and transparent logins
When I was using IIS/NT for my authentication users could login into the server using a link that looked something like this http://username:[EMAIL PROTECTED]/sdfsdf/ http://username:[EMAIL PROTECTED]/sdfsdf/ Is there anyway to do this in tomcat. Really what I am trying to accomplish, is move a user from one of my company's web site to another site ( they are on two different systems) without having to have a double login. I searched through the archives but wasn't able to find anything on this topic. Any suggestions are appreciated? Zach Hensley ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender by email, delete and destroy this message and its attachments. **
RE: HOWTO setup SSL
I have never set up SSL but I have used the cyrpto extensions before.All of the API methods rely on a provider Implementation for the API to work. I am no sure how you need to do it while setting up SSL but I know with the cyrpto extension you had to specify a provider implementation in a properties file and you had to do a separate download for the implementation. Not a lot of information but I hope that helped. Zach H. -Original Message- From: Johnson Lim [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 2:14 AM To: Tomcat-User Subject: HOWTO setup SSL Hi all, I am trying go get SSL work on my tomcat, I have follow the instruction on Tomcat and SSL, I have get the JSSE install and put it on the classpath, but when I run the keytool -genkey -alias tomcat -keyalg RSA error occurs: C:\Test\confkeytool -genkey -alias tomcat -keyalg RSA Enter keystore password: changeit keytool error: java.security.NoSuchAlgorithmException: RSA KeyPairGenerator not available Please help Regards JOhnosn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender by email and delete and destroy this message and its attachments. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Tomcat deployment
As long as they are not running on the same port. -Original Message- From: Amir Nuri [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 12:19 PM To: Tomcat-User Subject: Tomcat deployment Hi Can I run two tomcat servers on the some machine ?? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender by email and delete and destroy this message and its attachments. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Adding contexts to tomcat with IIS
I have loaded tomcat on IIS and I can get the examples directory to come up fine. I can not get any other contexts to come up though. This is what I have tried. I would appreciate any tips or ides. I Added the following line /admin/*=ajp12 to the uriworkermap.properties file restarted everything and still never found the context. I then commented out the examples context and it still came up fine. I checked the registry worker_mount_file and everything looks fine. I then deleted the uriworkermap.properties file and examples still came up. For some reason it doesn't seem like tomcat is finding everything. Any suggestions. Thanks Zach H. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender by email and delete and destroy this message and its attachments. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Adding contexts to tomcat with IIS
Thanks for the tips. I was restarting the web server via the management console. I guess what I need to do is restart the NT service "IIS Admin Service". Thanks Zach H. -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 2:24 PM To: [EMAIL PROTECTED] Subject: RE: Adding contexts to tomcat with IIS First, I believe that uriworpermap.properties file is only loaded at IIS service startup. In other words, to make modifications to the contexts available, you need to restart IIS. Second, I believe that /admin is a special virutal directory in IIS. Lastly, it seems like you have a different uriworkermap.properties file that is really being used. You shouldn't be able to delete the file and still have IIS/Tomcat work after an IIS restart. Randy -Original Message----- From: Hensley, Zachary [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 21, 2001 2:36 PM To: '[EMAIL PROTECTED]' Subject: Adding contexts to tomcat with IIS I have loaded tomcat on IIS and I can get the examples directory to come up fine. I can not get any other contexts to come up though. This is what I have tried. I would appreciate any tips or ides. I Added the following line /admin/*=ajp12 to the uriworkermap.properties file restarted everything and still never found the context. I then commented out the examples context and it still came up fine. I checked the registry worker_mount_file and everything looks fine. I then deleted the uriworkermap.properties file and examples still came up. For some reason it doesn't seem like tomcat is finding everything. Any suggestions. Thanks Zach H. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender by email and delete and destroy this message and its attachments. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]