Re: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Mario Ivankovits
Hi! A more flexible option is to use securityfilter (http://securityfilter.sourceforge.net) to handle everything. If you are already using spring have a look at ACEGI. It is not really easy to install, but allows you to e.g. have different login methods within the same webapp. Regarding the

Re: ClassCastException trying to cast MemoryUserDatabase to UserDatabase

2007-08-16 Thread Mario Ivankovits
Hi! Mario, you are a hero. do women come and worship you in the street? Haha! Oh boy ... you don't want to know ... Glad it helped you! :-) Ciao, Mario - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

Re: getSession() thread-safe? User A can see user B's account

2006-07-21 Thread Mario Ivankovits
Hi! I still don't understand how JSF knows which session you are requesting. I'm sorry that I don't know a thing about JSF. Without going into any details, but JSF simply has a facesServlet which get the session from the request and puts it in its internal structures. So it simply takes

Re: common-compress

2006-02-21 Thread Mario Ivankovits
Hi! Where I can find the jar of this project? You have to build it from SVN using maven, or download a snapshot from http://www.ibiblio.org/maven/commons-compress/jars/commons-compress-20050911.jar Currently we have no nightly nor a release build. Ciao, Mario

Re: advice on auto logout servlet

2005-11-15 Thread Mario Ivankovits
Hi Mark, Is there any way to allow servlets to auto-logout a user when the timeout has been reached. We solved the problem slightly different. We use a rather small timeout for the session (say 10 minutes) and put a small iframe (nearly hidden, just changing colors) on the page where we use