I have the following custom authenticator:
public class CustomAuthenticator extends BaseAuthenticator implements Authenticator, Serializable { @Inject private IdentitySession identitySession; @Inject 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...
Thanks
Karsten
The IdentitySession comes from PicketLink, so you'd have to have that in the classpath for the project. The Credentials I think also comes from PicketLink, or maybe that's Seam Security, I forget at the moment.