[jboss-user] [JBoss Seam] - Re: Question about authentication
The solution I found to my app was to create a JavaBean with login() and logout() methods. The login() is mapped using the 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 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question about authentication
The Seam way would be to use an @Destroy method on a session-scoped object to remove the user id from the application context. The ordinary Servlet way would be to implement HttpSessionListener. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026677#4026677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question about authentication
Hi,fady.matar thank you for your answer. But the problem of your solution is, if the user is session timeout, his id is till in application scope View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026600#4026600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question about authentication
What you can do is create a list that is injected in the application scope and append each authenticated user id to it. no need to append the whole objects to the application scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026594#4026594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user