[jboss-user] [JBoss Seam] - Re: Security logout method

dilator do-not-reply at jboss.com
Mon Feb 12 19:25:36 EST 2007


For logout, rather than calling identity.logout(), call your own method that either call's Identity.instance().logout(), or calls Seam.invalidateSession() - which at the moment is basically all identity.logout() does.

For expiring sessions, presumably you already have a session scoped stateful component, i'd annotate a method in it with @Destroy (you'll already have one of these if you're using SFSBs)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015501#4015501

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015501



More information about the jboss-user mailing list