[jboss-user] [JBoss Seam] - Re: login & logout options

wise_guybg do-not-reply at jboss.com
Fri Jul 27 08:14:19 EDT 2007


I think login/logout fires an event that you can catch. For example in components.xml you should have:
<event type="org.jboss.seam.postAuthenticate">
  |     <action expression="#{redirect.returnToCapturedView}"/>
  | </event>

Also, the login method of identity can call a method from a custom component. In components.xml you need :
<security:identity authenticate-method="#{authenticator.authenticate}"/> 

And declare a method:
public boolean authenticate()

That will return login successful/unsuccessful. In this method you can log data.

Not so sure what to do with the logout but I hope you'll figure it out. Ops,  Ricardo was first...

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

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



More information about the jboss-user mailing list