[jboss-user] [JBoss Seam] - Re: Question about authentication
rmemoria
do-not-reply at jboss.com
Fri Mar 9 13:50:10 EST 2007
The solution I found to my app was to create a JavaBean with login() and logout() methods.
The login() is mapped using the <security:identity authenticate-method tag in components.xml
The logout() is mapped using <event type="org.jboss.seam.preDestroyContext.SESSION" tag in components.xml
If the user succesfull logins the system adds him to a application-scoped list.
When the user logs out the system removes its information from this list.
It has worked very well.
I hope I've helped.
Ricardo
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026715#4026715
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026715
More information about the jboss-user
mailing list