El método de HASAUTHORITY no funciona con Thymeleaf

 @EnableGlobalMethodSecurity(prePostEnabled = true) in Security configuration.
Vijay Patwal