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]