A pré-autorização não funciona no controlador

Estou tentando definir regras de acesso no nível do método, mas ele não está funcionando como sempre.

SecurityConfiguration

@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
    @Override
    public void configure(AuthenticationManagerBuilder auth) throws Exception {
        auth.inMemoryAuthentication().
                withUser("user").password("user").roles("USER").and().
                withUser("admin").password("admin").roles("ADMIN");
    }
    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http
                .sessionManagement()
                .sessionCreationPolicy(SessionCreationPolicy.STATELESS)
                .and()
                .authorizeRequests()
                .antMatchers("/v2/**").authenticated()
                .and()
                .httpBasic()
                .realmName("Secure api")
                .and()
                .csrf()
                .disable();
    }
}

ExampleController

@EnableAutoConfiguration
@RestController
@RequestMapping({"/v2/"})
public class ExampleController {
    @PreAuthorize("hasAuthority('ROLE_ADMIN')")
    @RequestMapping(value = "/home", method = RequestMethod.GET)
    String home() {
        return "Hello World";
    }
}

Sempre que tento acessar / v2 / home usandouser:user ele executa muito bem, não deveria me dar um erro de Acesso Negado devido ao 'usuário' não terROLE_ADMIN?

Na verdade, estou pensando em abandonar as regras de acesso no nível do método e seguir as regras http () ant, mas preciso saber por que não está funcionando para mim.

questionAnswers(6)

yourAnswerToTheQuestion