Thanks for your answer, in fact my main problem is: On client side: -> Login as a new login/pass in a web folder windows remember my login pass and so always resend it without asking me
With a browser it's working very well but with WebFolder I don't know how to explitly logout do not save login/password. Regards, Jp Martin Kal�n a �crit : > Jean-Philippe Encausse wrote: > >> My Windows Explorer Web folder always remember login/password >> how can I logout user or timeout login ? >> >> For application server portability I remove Slide security an set a >> Servlet Filter >> doing BASIC Authentication. That's work fine ! > > > To expire inactive HTTP logins you use the session-timeout value > of the web.xml Servlet descriptor (specified in minutes). > > XPath for session-timeout is /web-app/session-config/session-timeout > > > > To actively terminate a HTTP session (including authentication) > from Java you use the HttpSession class from Servlet API and call: > servletSession.invalidate(); > > In Slide this is done in AbstractWebdavMethod on SlideException > with status code WebdavStatus.SC_UNAUTHORIZED. > > (In the current code I didn't find a way of programatically > terminating the session other than on this exception handling spot.) > > > > As for making MS Windows webfolder forget a filled in name/password > until next logon try, I think you are out of luck trying to control > this through Slide. > > Regards, > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- *Jean-Philippe Encausse* - R&D Jalios SA [EMAIL PROTECTED] - http://www.encausse.com - http://www.jalias.com ICQ: 109796741 - AOL: NextOne6666 - MSN: [EMAIL PROTECTED] Mob: +33 6 80 75 71 09 - Office: +33 1 39 23 92 83 - Home: +33 1 39 18 90 15 *Do it Once, Use it Twice ~ Do it Twice, Make It Once* -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.7 - Release Date: 12/04/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
