Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/16/11, sailendra karthik wrote: > On 10/15/11, Pid wrote: >> On 14/10/2011 22:36, sailendra karthik wrote: >>> I need to maintain a session object between Realm and Servlet. >>> >>> I have written a CustomRealm and every thing working fine and now it >>> is required to send an object to ser

Re: Session across Realm and Servlet

2011-10-15 Thread sailendra karthik
On 10/15/11, Pid wrote: > On 14/10/2011 22:36, sailendra karthik wrote: >> I need to maintain a session object between Realm and Servlet. >> >> I have written a CustomRealm and every thing working fine and now it >> is required to send an object to servlets (possibly by >> HttpRequestServlet ) But

RE: filters on j_security_check

2011-10-15 Thread Caldarale, Charles R
> From: Chema [mailto:demablo...@gmail.com] > Subject: Re: filters on j_security_check > where I can find info about SecurityFilter ? The first hit on Google... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended

Re: Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Eggers
Mark, Thanks for the weekend reply. Too bad SNI in Java 7 is only client side for the time being. So it looks like: 1. Wildcard certs and restrict server architecture 2. Apache mod_ssl SNI / mod_jk and restrict clients (may not be possible) 3. Traditional one cert per IP-based virtual host on A

RE: WebApp access to a LAN share

2011-10-15 Thread Caldarale, Charles R
> From: Brian Burch [mailto:br...@pingtoo.com] > Subject: Re: WebApp access to a LAN share > Well, for a start a webapp is not normally allowed to access > files outside its own container... Unless you've configured Tomcat to use a security manager, that's simply false; webapps run under the s

Re: Tomcat 7 won't run as Windows service

2011-10-15 Thread David Rush
No, I did not uninstall the old service. I'd like to be able to keep multiple Tomcat instances going at once. Normally I do keep multiple instances, each installed as a service (on different ports with different service names), but they've always been of the exact same version. Would there b

Re: Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Thomas
On 15/10/2011 21:26, Mark Eggers wrote: > I potentially have the need to support multiple virtual hosts with SSL > on a single IP address / port combination. > > This is called named virtual hosts on Apache HTTPD, and virtual hosts > with a single connector on Tomcat. > > With a late version of A

Virtual Hosts, SSL, Tomcat

2011-10-15 Thread Mark Eggers
I potentially have the need to support multiple virtual hosts with SSL on a single IP address / port combination. This is called named virtual hosts on Apache HTTPD, and virtual hosts with a single connector on Tomcat. With a late version of Apache HTTPD / OpenSSL / mod_ssl, I can accomplish this

Re: filters on j_security_check

2011-10-15 Thread Chema
This is one of the reasons I switched to SecurityFilter: there is a > FlexibleRealmInterface that passes-in the HttpServletRequest that was > used to attempt authentication. That allows you to get nice things > like the ip address of the request for logging. > > I'm interested on what are talking

Re: WebApp access to a LAN share

2011-10-15 Thread Pid
On 15/10/2011 19:38, Léa Massiot wrote: > > Hello, > > Thank you for reading my post. > > Here is my problem: > - I have two machines S and M on the same LAN. > - S is a Debian machine running a Tomcat server. > - And I have a WebApp W deployed on this Tomcat server. > - M is a Windows machine w

Re: WebApp access to a LAN share

2011-10-15 Thread Brian Burch
On 15/10/11 19:38, Léa Massiot wrote: Hello, Thank you for reading my post. Here is my problem: - I have two machines S and M on the same LAN. - S is a Debian machine running a Tomcat server. - And I have a WebApp W deployed on this Tomcat server. - M is a Windows machine which hosts some file

WebApp access to a LAN share

2011-10-15 Thread Léa Massiot
Hello, Thank you for reading my post. Here is my problem: - I have two machines S and M on the same LAN. - S is a Debian machine running a Tomcat server. - And I have a WebApp W deployed on this Tomcat server. - M is a Windows machine which hosts some files for W. - S and M belong to the same S

Re: Problem in spring-tomcat project

2011-10-15 Thread Pid
On 14/10/2011 17:41, Anisha Karki wrote: > I am following the tutorial: > http://static.springsource.org/docs/Spring-MVC-step-by-step/part2.html > > on developing and configuring the views and the controller. But i am getting > following error: > > > org.apache.jasper.JasperException: /index.jsp

Re: Tomcat 7 won't run as Windows service

2011-10-15 Thread Pid
On 14/10/2011 13:16, Konstantin Kolinko wrote: > 2011/10/14 David Rush : >> I've been running Tomcat 6.0.18 for a long time, and am now trying to >> upgrade to 7.0.22 (64 bit .zip download). >> >> I can start Tomcat 7 with startup.bat and it's working fine. >> >> The script to install it as a servi

Re: Classloaders in catalina.properties

2011-10-15 Thread Pid
On 14/10/2011 17:52, spr...@gmx.eu wrote: > Hi, > > in catalina.properties I can define paths for common, server and shared > loaders. > > Where do I find them here in the docs?: > > http://tomcat.apache.org/tomcat-7.0-doc/class-loader-howto.html > > Here we have only system and common... Beca

Re: Help with mixed SSL and non-SSL pages in Tomcat 7.0

2011-10-15 Thread Pid
On 14/10/2011 21:09, Janet Preston wrote: > I have a web site with a login page that has to be accessed using SSL so > that the password is not sent as clear text. That's good. > The rest of the site is non-SSL. Oh. Why not? p signature.asc Description: OpenPGP digital signature

Re: Session across Realm and Servlet

2011-10-15 Thread Pid
On 14/10/2011 22:36, sailendra karthik wrote: > I need to maintain a session object between Realm and Servlet. > > I have written a CustomRealm and every thing working fine and now it > is required to send an object to servlets (possibly by > HttpRequestServlet ) But i know/think Servlet is not ye

Re: filters on j_security_check

2011-10-15 Thread Pid
On 13/10/2011 20:53, Caldarale, Charles R wrote: > If you want to do programmatic security in addition to declarative security, Or use the Servlet 3.0 APIs, supported by Tomcat. p signature.asc Description: OpenPGP digital signature

Re: appbase directory deleted partically

2011-10-15 Thread Pid
On 14/10/2011 04:07, Osamu Ochiai wrote: > Hello > > The problem: > Tomcat started successfully but the deployed webapp did not work > because the appbase directory was deleted partially. > Maybe the directory was deletedby mistake without user's > intention. > >

Re: Configure tomcat using init.d

2011-10-15 Thread Pid
On 14/10/2011 16:31, Mark Thomas wrote: > On 14/10/2011 16:15, Mark H. Wood wrote: >> This I can agree with. They don't allow application managers >> access to Tomcat's config., but anyone can drop stuff into >> /etc/init.d, whence it will run as root? Really? Something is not >> right here. +1

Re: Configuration for both protected and public URLs in a web application

2011-10-15 Thread Brian Burch
On 15/10/11 14:47, Yogesh Shankarappa wrote: Thanks for your response. I tried your suggestion, unfortunately it did not work. There must be a solution for this as most web applications have both public and protected URLs. *public URLs* Unprotected /public/

Re: Configuration for both protected and public URLs in a web application

2011-10-15 Thread Yogesh Shankarappa
Thanks for your response. I tried your suggestion, unfortunately it did not work. There must be a solution for this as most web applications have both public and protected URLs. On Fri, Oct 14, 2011 at 5:50 PM, sailendra karthik < karthiksailen...@gmail.com> wrote: > On 10/15/11, Yogesh Shankara