Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.action
Class LogoutAction

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.action.LogoutAction
All Implemented Interfaces:
Serializable

@Name(value="loginLogoutAction")
@Scope(value=STATELESS)
public class LogoutAction
extends InputController
implements Serializable

Logs the user in/out.

Author:
Razvan Caraghin
See Also:
Serialized Form

Constructor Summary
LogoutAction()
           
 
Method Summary
 String login()
           
static String logout()
          Logs the user out.
 
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogoutAction

public LogoutAction()
Method Detail

login

public String login()

logout

public static String logout()
                     throws Exception
Logs the user out. Invalidates the HTTP session so that it cannot be used anymore.

Returns:
the next page that is going to be displayed
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.