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