Re: cross context info

2005-09-14 Thread Edmund Urbani
Alain Gaeremynck wrote: I have 2 webapps living on the same server and they are linked to the same user experiance.. Now both apps require login but i don't want my users to have to login on both apps. Also while they are browsing in one context i don't want the session to expire for the

Re: getRealPath() returns real path plus context path

2005-09-06 Thread Edmund Urbani
Franz-Josef Herpers wrote: Hi, I've a problem when using ServletContext#getRealPath() with Tomcat 5.5.9. My web application resides under the name tool in the webapps directory. When I call servletContext.getRealPath(request.getContextPath() I get the real path but always with the context

Re: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Edmund Urbani
Philip Cote wrote: I'm trying to write to binary data from a MySQL database into a jpeg file so I can show it on a jsp page but I'm not having much luck. My bean can create files outside the servlet / jsp context using the usual java.io classes. As I understand it, java.io classes aren't

howto configure JAAS+SSO

2005-08-16 Thread Edmund Urbani
hello! I'm trying to configure two webapps (slide and jetspeed2) for single-sign-on in the same tomcat instance. Both apps use JAAS and come with their own JAAS login modules. Is it possible to configure these (any?) two apps to share login info with JAAS. I started reading the JAAS docs

Re: howto configure JAAS+SSO

2005-08-16 Thread Edmund Urbani
Mark Benussi wrote: Hi Edmund. I am sorry but I don't know much about SSO. However I can tell you about JAAS in Tomcat. In 5 certainly there are issues. Essentially when you call the LoginModule to invoke your JAAS config it works but it does not authenticate the proper session Subject. What

Re: howto configure JAAS+SSO [Apologies code attached]

2005-08-16 Thread Edmund Urbani
Mark Benussi wrote: 1.Filter to go in web.xml /** * [EMAIL PROTECTED] javax.servlet.Filter Filter} to overide the HttpServletRequest and * overide isUserInRole() using the * [EMAIL PROTECTED] com.ibt.framework.security.tomcat.HttpServletRequestWrapper HttpServletRequestWrapper} * * @author

Re: can I prevent DoS (Denial of Service) Attacks in JSP?

2005-08-02 Thread Edmund Urbani
Larry Meadors wrote: Hmm, that is like asking how to avoid automobile accidents. Larry On 8/2/05, Ben Bookey [EMAIL PROTECTED] wrote: Dear List, I have been asked if its possible to prevent DoS attacks inside Java (JSP/Servlet). I guess it is ... is this something however that TC would

Re: Tomcat SSL Cipher Configuration

2005-07-18 Thread Edmund Urbani
Jojo Paderes wrote: Hi, I'm looking for some decent documentation and technical reference on how to configure Tomcat's SSL cipher. Say for example I want Tomcat to support a specific SSL cipher suite like Triple DES. Hope someone has done something like this already. I'm using Tomcat 5.5 btw.

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-04 Thread Edmund Urbani
Bill Barker wrote: Edmund Urbani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with status 302 redirects in some

how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Edmund Urbani
hi! i ran into some trouble with tomcat5 and its slash adding behaviour. there's this MS WebFolder client (M$ for WebDAV), that does not seem to be able to cope with status 302 redirects in some situations. in order to work around this problem i modified the class

Re: how do i prevent tomcat5 from adding trailing slash?

2005-07-01 Thread Edmund Urbani
/servlet http://your.server.com/jsp-examples http://your.server.com/servlets-examples I hope that helps. Jerald Sheets Systems Administrator The Weather Channel Interactive -Original Message- From: Edmund Urbani [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 9:43 AM To: tomcat-user

sharing objects between webapps

2002-06-05 Thread Edmund Urbani
Hi! I'm currently working on two webapps that run in the same Tomcat (4.0.1) and share some common data. To do so efficiently, I would need them to actually access the same java objects in memory (really the instances, not just same classes). So, is it possible for one webapp to make an object