Wildfly 26.0.1
Having issue logging out of Wildfly configured with LDAP.
1. Defined a security-domain
2. Defined a security-realm
3. Defined a dir-context
We are able to login and access the servlet resource according the the defined roles.
The logout servlet has the following code::
HttpSession session = a_request.getSession(false);
if ( session != null ) {
session.invalidate();
}
a_request.logout();
a_response.sendRedirect(a_request.getContextPath()+ "/logout.jsp");
User is still able to access application with back button or by opening another window in the browser.
Any guidance would be appreciated.
Thanks