Did you try
@In
| Identity identity;
It's still injection. :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046635#4046635
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046635
___
Using Identity.instance() works (that's how I'm working around the problem
now), but I would prefer that the values be injected.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046615#4046615
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=po
What happens when you try to get the Identity with:
| Identity.instance()
|
instead of injection?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046614#4046614
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=404661
I tried your suggestion of moving the @Local from the implementation to the
interface, but no dice.
Note that injection elsewhere in my application (using POJOs, Stateful, and
Stateless beans) works just fine. The problem is only limited to simply Seam
Authentication.
View the original post :
Did you annotate Authenticator with @Local? I don't know if
@Local(Authenticator.class) in the bean class is a replacement for @Local in
the business interface.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046607#4046607
Reply to the post :
http://www.jb
One other thing, I did try just injecting Identity using:
| @In
| public void setIdentity(Identity identity) ...
|
and
| @In private Identity identity;
|
Neither worked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046606#4046606
Reply to
Sorry, Statefull was a typo in my post ... the actual code is correct.
Regarding why I'm using a Stateful bean (or Stateless), I'd like to use the
@EJB injection functionality to call back end Stateless services to perform the
authentication against the database. If I make this a POJO, I can't
@Statefull has one "L"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046594#4046594
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046594
___
jboss-user mailing list
jboss-us
I don't know the answer to your question - I haven't tried injecting portions
of components like that. But I do wonder why you'd want the authenticator
implementation to be a sfsb rather than just a pojo. Its lifetime is the scope
of the event only, so conversational scope isn't an issue, righ