title: How to get a reference to SessionAuthenticationStrategy without configuring the strategy explicit?
body: <p>In a Spring Security 3.2 based application I have a explicit configured <code>UsernamePasswordAuthenticationFilter</code>, that need an reference to the <code>sessionAuthenticationStrategy</code> (in order to invoke <code>.onAuthentication</code>).*</p>
  
  <p>The <code>sessionAuthenticationStrategy</code> is the default one created by <code>&lt;security:http&gt;</code> (<code>HttpSecurityBeanDefinitionParser</code>). </p>
  
  <p>My question: <strong>Is how can I get an reference to the <code>SessionAuthenticationStrategy</code> without configuring the complete <code>SessionAuthenticationStrategy</code> explicite, so that I can inject this reference in XML configuration?</strong></p>
  
  <pre><code>&lt;security:http auto-config="false" use-expressions="true"
      entry-point-ref="loginUrlAuthenticationEntryPoint" 
      access-decision-manager-ref="httpAccessDecisionManager"&gt;
      ...
      &lt;security:custom-filter
               ref="usernamePasswordAuthenticationFilter"
               position="FORM_LOGIN_FILTER"/&gt;
      ...
  &lt;/security:http&gt;
  
  ...
  
  &lt;bean id="usernamePasswordAuthenticationFilter"
      class=" o.s.scurity.web.authentication.UsernamePasswordAuthenticationFilter"&gt;
  
     &lt;property name="sessionAuthenticationStrategy" ref="????"&gt;   &lt;!-- ?? -&gt;
     ...
  &lt;/bean&gt;
  </code></pre>
  
  <p><em>*my real <code>UsernamePasswordAuthenticationFilter</code> is a customized subclass, but that should not matter for this question</em></p>