Closed raunak closed 8 years ago
@raunak You have to add
routesGenerator := InjectedRoutesGenerator
to (all?) build.sbt
files. See https://www.playframework.com/documentation/2.4.x/JavaRouting#Dependency-Injection
@mkurz any ideas why I can' t inject TestUsernamePasswordAuthProvider in the tests? I've tried extending the test class with withApplication, but that doesn't help either.
@raunak Why did you close this pull request?
@mkurz I wanted to create a proper fix first, afterwards I'll re-create the pull request.
I think once this is done, we might move playAuthenticate to the org and split up the repositories in code and samples, etc. @raunak maybe @mkurz can answer your DI question?
Guide used: https://www.playframework.com/documentation/2.4.x/PluginsToModules