Printemps de sécurité 3 http-l'authentification de base-succès-gestionnaire

H je suis en utilisant le printemps de sécurité

pour form-login j'ai

<http auto-config="true">
        <intercept-url pattern="/pages/**" access="ROLE_USER" />
        <form-login authentication-success-handler-ref="authenticationSuccessHandler" login-page="/login.html" default-target-url="/pages/index.html"
            always-use-default-target="true" authentication-failure-url="/login.html" />
        <logout logout-success-url="/login.html" invalidate-session="true" />
        <anonymous enabled='false'/>
</http>

ici, je peux mettre un authentication-success-handler-ref, comment puis-je ajouter à ma authentification de base:

<http pattern="/REST/**" realm="REALM" entry-point-ref="authenticationEntryPoint">
    <intercept-url pattern="/**" access="ROLE_USER" />
    <http-basic  />
    <logout logout-url="/REST/logout" success-handler-ref="restLogoutSuccessHandler" />
</http>

j'ai pensé abour primordial BasicAuthenticationFilter, mais comment peut-on injecter mon cutom classe pour <http-basic />

OriginalL'auteur wutzebaer | 2013-05-24