a***@gbm.net
2007-10-26 19:26:05 UTC
I´m a newbee trying to secure a web application. I have a common access servlet in my application, and I´m doing some additional business logic validations in this servlet. This servlet is a protected resource, so the user is redirected to a login page when he try´s to access it. The user enters his login and password and then accesses the servlet. If a certain validation is not correct, then the user is bumped out of the system; I need to force a logout.
How do I do this? I´ve seen that from a JSP page you can add a form that uses the ibm_security_logout, but this is done with a user action (onSubmit). I need to do this from a servlet, is this even posible?
Thankyou,
How do I do this? I´ve seen that from a JSP page you can add a form that uses the ibm_security_logout, but this is done with a user action (onSubmit). I need to do this from a servlet, is this even posible?
Thankyou,