How do I log in to my Seam application without having to be confronted with a login page
(without using a JSF page to log in).
My current approach is to pass the username and password to a servlet in Seam. This is
currently working. Then I would like to be able to use
Identity.instance().setUsername(userid);
| Identity.instance().setPassword(password);
This part is not working. I receive an exception:
java.lang.IllegalStateException: No active session context
I have also asked about this problem in this post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069335#...
Should I take a different approach? Any suggestions are welcomed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077486#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...