[mitreid-connect] Autowired and Overlays

Luiz Omori luiz.omori at duke.edu
Mon Jun 13 14:04:12 EDT 2016


Hi,

I’m facing some difficulties with Spring Autowired elements and the overlay for MitreID I’m working on when running unit tests for the overlay.

    @Autowired
    private JWTEncryptionAndDecryptionService encryptionService;

The application context for running the unit tests contains:

<!-- Scan for components -->
<context:component-scan annotation-config="true" base-package="org.mitre" />

And some elements are autowired properly, e.g.

   @Autowired
    public ConfigurationPropertiesBean config;

Has anybody faced similar problems?

Regards,
Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20160613/b769c106/attachment.html


More information about the mitreid-connect mailing list