Open farkaskid opened 6 years ago
@farkaskid Why it is required?
Its not necessary but more of a suggestion. Take a look at this https://github.com/mahesh1996/spring-security-rest/blob/0.0.1-SNAPSHOT/src/main/java/com/mbz/springsecurity/rest/RestAuthenticationFilter.java#L48
He had to inject the context there because autowiring is not performed in filters as pointed out by @mahesh1996 but we should be able to manually wire them.
This can/should be delayed until we have something stable/fixed.
The core low-level beans can be statically wired using the XML configuration.