1 Reply Latest reply on Jan 12, 2012 2:09 PM by Jason Porter

    Security: Custom authenticator warning on @Inject

    Karsten Wutzke Expert

      I have the following custom authenticator:

      public class CustomAuthenticator extends BaseAuthenticator implements Authenticator, Serializable
          private IdentitySession identitySession;
          private Credentials credentials;

      On both @Inject Eclipse warns me about:

      No bean is eligible for injection to the injection point (JSR-299 §5.2.1)

      Is it Eclipse again warning me unnecessarily or is it really bad code? Note, that I only copied this from the IdmAuthenticator class...