title: How to adding Spring Security logout to system to logout users?
body: <p>How to adding Spring Security logout to system to logout users?  I am trying the following but it does not work:</p>
  
  <pre><code>&lt;http use-expressions="true"&gt;
          &lt;intercept-url access="hasRole('ROLE_VERIFIED_MEMBER')" pattern="/ask-question**" /&gt;
           &lt;intercept-url pattern='/*' access='permitAll' /&gt;
  
          &lt;form-login default-target-url="/ask" /&gt;
  
          &lt;logout logout-success-url="/" /&gt;
  
          &lt;logout logout-url="/logout" logout-success-url="/login?logout_successful=1" /&gt;
  
          &lt;session-management session-fixation-protection="newSession"&gt;
              &lt;concurrency-control max-sessions="1"/&gt;
          &lt;/session-management&gt;
  
      &lt;/http&gt;
  </code></pre>