Open sumeshpunakkal opened 10 years ago
I have similar problem. Is there way to use play-authenticate in the case Spring is used for DI?
Unfortunately my knowledge in Spring is not proficient enough at this point in time to give an answer to those questions, but I am leaving the issue open, maybe some other users from the community can give you an answer...
Hi, I'm planning to use play-authenticate for authentication. My DB is Mongo, with Spring Data Mongo used for persistence. As per the documentation I have extended UserServicePlugin and created a class. But I need to inject repository into that object, right now when I try to inject it's coming as null as the MyUserServicePlugin is instantiated by play-authenticate framework. Is there any way to make the application to inject MyUserServicePlugin using Spring? so that I can inject the rest of the repositories required...