Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

Made problems with standard @Inject Principal principal; #436

Closed
wants to merge 1 commit into from

Conversation

marcin-caban
Copy link
Contributor

Without Vetoed it is not possible to use standard

@Inject
private Principal principal;

The error message is:

Ambiguous dependencies for type Principal with qualifiers @default
Possible dependencies:

  • Built-in Bean [java.security.Principal] with qualifiers [@default],
  • Managed Bean [class org.picketlink.social.standalone.fb.FacebookPrincipal] with qualifiers [@Any @default]

…ependencies for type Principal with qualifiers @default 1. Built-in Bean [java.security.Principal] with qualifiers [@default], 2. Managed Bean [class org.picketlink.social.standalone.fb.FacebookPrincipal] with qualifiers [@Any @default])
@cloudbees-pull-request-builder

picketlink #270 FAILURE
Looks like there's a problem with this pull request

@marcin-caban marcin-caban deleted the master branch November 18, 2014 05:26
@pedroigor
Copy link
Member

Can you file a JIRA, please ? I think we can just annotate FacebookPrincipal with @picketlink qualifier. And change the injection points to also define it when injecting FacebookPrincipal.

@marcin-caban
Copy link
Contributor Author

OK, I'll do it later this week.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants