<div dir="ltr"><div>Hello</div><div><br></div><div>Looking at the &#39;AuthenticationEndpoint&#39; I noticed that the &quot;org.jboss.aerogear.security.auth.AuthenticationManager&quot; class ([1]) is used without parameterization: </div>
<div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java#L41-L42">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java#L41-L42</a></div>
<div><br></div><div>This works fine, but I thought to actually apply a type, like:</div><div><br></div><div>private AuthenticationManager&lt;Developer&gt; authenticationManager;</div><div><br></div><div><br></div><div>But now I do get a DeploymentException:</div>
<div>WELD-001408 Unsatisfied dependencies for type [AuthenticationManager&lt;Developer&gt;] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.aerogear.unifiedpush.rest.security.AuthenticationEndpoint.authenticationManager]</div>
<div><br></div><div>I have also changed the parameterized type to be Picketlink&#39;s User, but I do get the same (almost the same) DeploymentException:</div><div>WELD-001408 Unsatisfied dependencies for type [AuthenticationManager&lt;User&gt;] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.aerogear.unifiedpush.rest.security.AuthenticationEndpoint.authenticationManager]</div>
<div><br></div><div>Any one knows what I am doing wrong ? </div><div><br></div><div>Thanks,</div><div>Matthias</div><div><br></div><div>[1] <a href="https://github.com/aerogear/aerogear-security/blob/master/src/main/java/org/jboss/aerogear/security/auth/AuthenticationManager.java">https://github.com/aerogear/aerogear-security/blob/master/src/main/java/org/jboss/aerogear/security/auth/AuthenticationManager.java</a></div>
<div><br></div><div><br></div><div><br></div><div><br></div>-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</div>