Inject a bean including HttpServletRequest in external project
Noriyuki TAKEI
ntakei at sios.com
Tue Mar 5 20:53:13 EST 2019
Hi,all.
I'm developing module that enhancing the function of shibboleth as an
external Java project.
In production, I'll compile it to jar files with maven and put them into
classpath directory.
In the module,I'd like to inject a bean including HttpServletRequest.I
tried the following code, but it did not work properly.
I found "req" object null.
@Autowired
private HttpServletRequest req;
Is there any solutions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20190306/b9a7b08a/attachment.html>
More information about the dev
mailing list