Thanks you, I have upgraded seam 2.0.1CR1 and implementing security event 
approach to handle login pre/post processes.

However, it appears that in my case identity.logout is not raising loggedOut 
event?

I don't think I am supposed to do anything other than the code below to 
raise/capture events.


  | X.xhtml
  | ...
  | <s:link view="/home.xhtml" action="#{identity.logout}" value="Logout" 
rendered="#{identity.loggedIn}"/>
  | ...
  | 
  | 
  | Authenticator.java
  | 
  | ..
  | import org.jboss.seam.annotations.Observer;
  | ...
  | ...
  | 
  | @Observer("org.jboss.seam.security.loggedOut")
  | public void logout() {
  |     activityLog.logOrgUser(orgUserAuthenticated.getUser(), 
ActivityLogger.Code.LOGOUT, null);
  | }
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122106
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to