[jboss-user] [JBoss Seam] - Re: Exception
damnh
do-not-reply at jboss.com
Tue Dec 18 03:18:52 EST 2007
"pete.muir at jboss.org" wrote : Post some info about the logout action.
This is my logout button:
< s:button value="Logout" styleClass="button" view="/login.xhtml"
| action="#{identity.logout}" rendered="#{identity.loggedIn}"/>
This is my authenticator:
| @Stateless
| @Name("authenticator")
| public class Authenticator implements IAuthenticator {
| @In(create = true)
| private UserDao userDao;
|
| @Out(required = false, scope = SESSION)
| private User user;
|
| public boolean authenticate() {
| user = userDao.login();
| if (user == null)
| return false;
|
| return true;
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4113664#4113664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4113664
More information about the jboss-user
mailing list