Automatic logout works now via primefaces idle monitor. 
After 10minutes the session is invalidated and a redirection to the login page is performed.