When I inject Actor into authenticator() generated by seam-gen, there is no 
"actor" injected into the variable and it fails at login.

  | @Scope(ScopeType.APPLICATION) // doesn't matter the scope
  | @Name("authenticator")
  | public class Authenticator
  | {
  |     @Logger private Log log;
  |     @In     private Identity identity;
  |     @In     private Actor actor; // use actor for business process
  |     
  |     @Out(value = "currentUser", required=false, scope = ScopeType.SESSION)
  |     private Account currentUser;
  | 
  |     @In("#{accountList.resultList}")
  |     private List<Account> accounts;
  | 
  |     @Transactional
  |     public boolean authenticate()
  |     {
  |             String user = identity.getUsername();
  |             log.info("Authenticating #0", user);
  |             actor.setId(user);
  | ...
  | 

Error says "In attribute requires non-null value: authenticator.actor"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079243#4079243

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079243
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to