How to get rid of timestamp in AccessLogValve ?
Hi. Does anybody know how to get rid of timestamp in AccessLogValve ? Catalina creates access log filename with timestamp every time . Thanks. Alexander .
Cannot handle 403 status with error page
Hi. I try to access to protected page, but login page and login error pages work if I entered incorrect username or password. If I entered correct username and password but that has no required role, I accepted only html page with message : 'HTTP Status 403 - Access to the requested resource has been denied' . How to avoid it ? I mean go to login page again or how to catch it with error-page . Error pafe works fine for 404 status, for example, but doesn't work for 403 code . Thanks .
Logout with basic autorization
Hi. How to do really logout using basic authorization ? I mean to get authorization prompt again by using tomcat engine ? , i.e. tomcat should care about it . To send smth. in response ? If yes, so what to send ? Thanks. Alex.
Re: Logout with basic autorization
P.Miller wrote: Hi Oleksandr, you can 'logout' with session.invalidate(). You have to login again afterwards. I do it exactly. But Browser already contains information for authentication, and when I want to access protected page ( I want to get auth prompt ) , it pass it by. Hth Peter Oleksandr Fedorenko wrote: Hi. How to do really logout using basic authorization ? I mean to get authorization prompt again by using tomcat engine ? , i.e. tomcat should care about it . To send smth. in response ? If yes, so what to send ? Thanks. Alex.