Examples of PreLoggedOutEvent


Examples of org.jboss.seam.security.events.PreLoggedOutEvent

    public void logout() {
        if (isLoggedIn()) {
            PostLoggedOutEvent loggedOutEvent = new PostLoggedOutEvent(user);

            beanManager.fireEvent(new PreLoggedOutEvent());
            unAuthenticate();

            session.invalidate();

            beanManager.fireEvent(loggedOutEvent);
View Full Code Here

Examples of org.jboss.seam.security.events.PreLoggedOutEvent

   {
      if (isLoggedIn())
      {
         PostLoggedOutEvent loggedOutEvent = new PostLoggedOutEvent(user);
        
         beanManager.fireEvent(new PreLoggedOutEvent());
         unAuthenticate();
        
         // TODO - invalidate the session
         // Session.instance().invalidate();
        
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.