picketlink/picketlink — pull request #437 by marcin-caban (2014-11-18 03:59:22+00:00)
Title: Made problems with standard @Inject Principal principal, ambiguous dependency

Without this class being excluded 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]