[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
tonylmai
do-not-reply at jboss.com
Tue Feb 27 20:25:15 EST 2007
Hi Gavin,
I am using Seam 1.1.6, not 1.2 and I received the following error when I copied the Authenticator example code (http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/security.html#d0e6073)
---- Server log -------
Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: authenticator.entityManager
---------------------
Note that in the example code, entityManager is injected as:
@In EntityManager entityManager;
whereas in the booking example, LoginAction has it declared as:
@PersistenceContext private EntityManager em;
Neither works for me when I started using Authenticator. Can you help?
Do I need to upgrade to Seam 1.2?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023405#4023405
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023405
More information about the jboss-user
mailing list