SEC-2136: Injecting Bean in a class used in custom PermissionEvaluator leads to NoSuchBeanDefinitionException #2362
Labels
in: config
An issue in spring-security-config
type: bug
A general bug
type: jira
An issue that was migrated from JIRA
Milestone
Thomas Struntz (Migrated from SEC-2136) said:
Autowiring a bean in a class used in a custom PermissionEvaluator leads to NoSuchBeanDefinitionException. If the @autowire annotation is commented in code, the context loads correctly (but tests obviously then fail).
This is similar to referenced post in spring forums.
Attached is a sample App (maven) with the according test case.
The text was updated successfully, but these errors were encountered: