Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-1948: Custom AbstractUserDetailsAuthenticationProvider Does not process annotations #2174

Closed
spring-issuemaster opened this issue Apr 5, 2012 · 3 comments

Comments

@spring-issuemaster
Copy link

@spring-issuemaster spring-issuemaster commented Apr 5, 2012

asd (Migrated from SEC-1948) said:

I have a custom class derived from AbstractUserDetailsAuthenticationProvider which needs to use a custom dao (UserDao). Within this provider I have an @Autowired UserDao field which does not get autowired. UserDao is successfully autowired into other beans in the same context (all beans reside within the root context).

The hack to get it to work is to manually inject the userDao via xml configuration. When that happens though, other annotations within UserDao (in this case @transactional) are also removed.

For more information see: http://stackoverflow.com/a/10036529/80286

@spring-issuemaster

This comment has been minimized.

Copy link
Author

@spring-issuemaster spring-issuemaster commented Apr 8, 2012

Rob Winch said:

I believe this is a duplicate of SEC-1885 and SEC-1911. If you disagree, please provide a complete (simplified) example of the issue. Also please ensure to test against master as the issue has been resolved in master.

@spring-issuemaster

This comment has been minimized.

Copy link
Author

@spring-issuemaster spring-issuemaster commented Apr 15, 2012

Rob Winch said:

Closing as duplicate due to no feedback otherwise

@spring-issuemaster

This comment has been minimized.

Copy link
Author

@spring-issuemaster spring-issuemaster commented Feb 6, 2016

This issue duplicates #2113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.