The source file org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser.java has on line 210 the following: logger.info("Expressions were enabled for method security but no SecurityExpressionHandler was configured. " + "All hasPermision() expressions will evaluate to false.");
The hasPermision() should be written as hasPermission().
Comment From: jzheaux
Good catch, @pmoerenhout! Would you be interested in submitting a PR to correct the spelling?
Comment From: pmoerenhout
Hi @jzheaux, I already made the PR: https://github.com/spring-projects/spring-security/pull/7659
Comment From: jzheaux
Fixed via 7e0740f745d903fdc942dda526c378836bdb33d8