You can use the identity object to check if the user is logged in, get the user
name, etc.
There is a method on identity to log out.
Within your JSF page you can simply refer to #{identity.username} and in your
code you can do @In Identity identity; (org.jboss.seam.security.Identity).
There are many examples of how this works in the seam examples.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068025#4068025
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068025
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user