Logout From ADF application
I implemented this method in the Action of the logout button public String logout{ FacesContext fctx = FacesContext.getCurrentInstance(); ExternalContext ectx = fctx.getExternalContext(); HttpSession session = (HttpSession) ectx.getSession(false); session.invalidate(); HttpServletRequest request = (HttpServletRequest)ectx.getRequest(); HttpServletResponse response = (HttpServletResponse) ectx.getResponse(); ServletAuthentication.logout(request,response,false); try{ ectx.redirect("http://iaigc.net"); } catch(Exception e){ e.printStackTrace(); ...