code: @Override
  	protected void redirectForLogout() {
  		String url = ConfigurationProperties.getLogoutUrl();
  
  		if (Util.empty(url)) {
  			LOG.warn("No logout URL specified");
  
  			try {
  				getResponse().getWriter().write("Logged out successfully");
  			} catch (IOException e) {
  				LOG.error("Failed to send logout message", e);
  			}
  		} else {
  			try {
  				getResponse().sendRedirect(url);
  			} catch (IOException e) {
  				LOG.error("Failed to redirect to logout url " + url, e);
  			}
  		}
  	}
docs: {@inheritDoc}