[seam-dev] issue trying to put OAuth in Seam Security External

Antoine Sabot-Durand antoine at sabot-durand.net
Fri Apr 20 02:58:37 EDT 2012


Hi all,

I worked on OAuth integration in Seam Security.

Markek provided some code in Seam Social but I found it more relevant to put it in Security. So I moved and refactored the Authenticator in Seam Security External. Everything seems ok but I can't start the Web example application having this exception.

org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [SamlSignatureUtilForPostBinding] with qualifiers [@Default] at injection point [[field] @Inject private org.jboss.seam.security.external.saml.SamlMessageSender.signatureUtilForPostBinding]

I tested my security classes directly in the web app : it works. So I can't put them in external since I need to configure unrelated beans to avoid Weld error at boot time. 

I pushed the code for others to test.  Start with example/oauth web app. The version works. If you delete org.jboss.seam.security.external.oauth and org.jboss.seam.security.external.oauth.api package from the web app and add security-external (which contains the same classes) as a dependence you'll have the exception.

regards,


Antoine SABOT-DURAND
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20120420/88eb37fe/attachment.html 


More information about the seam-dev mailing list