I\'m trying to implement proper logout for my Java EE / JSF2 application.
It requires two things:
You can create a page logout.xhtml, so the code will look like this:
public String getLogoutUrl() { return "/logout.jsf"; }
and in the page add: