Nuxeo Enterprise Platform 5.4

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:
java.io.Serializable

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

Logs the user in/out.

Author:
Razvan Caraghin
See Also:
Serialized Form

Constructor Summary
LogoutAction()
           
 
Method Summary
 void destroy()
           
 java.lang.String login()
           
static java.lang.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 java.lang.String login()

logout

public static java.lang.String logout()
                               throws java.lang.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:
java.lang.Exception

destroy

@Destroy
public void destroy()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.