Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread rpr_listas
on is net.sf.ehcache.constructs.concurrent.Mutex which is a copy of Doug Lea's mutex class from standard Java API, copied and imported into Ehcache. On 7/16/07, rpr_listas <[EMAIL PROTECTED]> wrote: Hello, Borut. Are you sure that there are no other thread writing in the cache at this moment? How do you prevent

Re: Did anyone had problems with JspWriter in Tomcat 5.5.17?

2007-07-16 Thread rpr_listas
Hello, Borut. Are you sure that there are no other thread writing in the cache at this moment? How do you prevent this case? Best regards. Ricardo Borut Hadžialić escribió: Hi list, I have spent last 15 working hours trying to figure out the cause of a strange bug. Home page on one of our

Re: Form authentication with captcha...

2007-07-05 Thread rpr_listas
ive errors from the same IP. How realm can access this data? Thanks in advance. Ricardo. David Delbecq escribió: En l'instant précis du 04/07/07 10:15, rpr_listas s'exprimait en ces termes: Hello David, I know that this is out of the specification, and bind my applic

Re: JAAS how to find user login name on the web app

2007-07-04 Thread rpr_listas
Hi, lmk! Your JAAS module is a tomcat Realm? If you develop a tomcat realm you can access the user data via the standard servlet API. HttpServletRequest.getRemoteUser(); HttpServletRequest.getUserPrincipal(); regards. Ricardo. lmk escribió: Hii, I developed a JAAS module for authentication

Re: Form authentication with captcha...

2007-07-04 Thread rpr_listas
d could be constructed, client side, with javascript, from 2 not submitted fields. or 2) Don't rely on container security and provide your own security with you own whatever forms. En l'instant précis du 03/07/07 10:45, rpr_listas s'exprimait en ces termes: Hi all! I'm t

Re: Images and response.getOutputStream()

2007-07-03 Thread rpr_listas
Hi Lyallex! You're getting a OutputStream ftrom a JSP? If the JSP has a simple single empty line before your java code <%%>, the JSP framework get a writer before your java code is executred. This is the cause of the IllegalState Exception. The rigth way to do this is from a servlet, but if y

Form authentication with captcha...

2007-07-03 Thread rpr_listas
Hi all! I'm thinking in implement a captcha (http://en.wikipedia.org/wiki/Captcha) protection for web-based authentication. I'm looking in the tomcat surce and the form authentication seems be implemented by org.apache.catalina.authenticator.FormAuthenticator class. But I'm not sure if chan