[jboss-user] [JBoss Seam] - Re: Seam security & user session...

jcg3 do-not-reply at jboss.com
Thu Jul 26 17:36:50 EDT 2007

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

More information about the jboss-user mailing list