protected void handleLogoutEvent ( LogoutEvent event ) { clearUser ( ) ; Authentication auth = ( Authentication ) event . getSource ( ) ; propertyChangeSupport . firePropertyChange ( USER , auth , null ) ; }
When a logout occurs remove all user related information from the session .