org.nuxeo.ecm.automation
Class LoginStack
java.lang.Object
org.nuxeo.ecm.automation.LoginStack
public class LoginStack
- extends Object
- Author:
- Bogdan Stefanescu
LoginStack
public LoginStack(CoreSession session)
setSession
public void setSession(CoreSession session)
getSession
public CoreSession getSession()
- Get the current session
- Returns:
push
public void push(LoginContext lc)
throws OperationException
- Throws:
OperationException
peek
public LoginStack.Entry peek()
pop
public void pop()
throws OperationException
- Remove the current login context from the stack.
If no login context in in the stack nothing is done. If the login context
has an associated CoreSession the session will be destroyed and the
previous session is restored as the active session of the operation
context.
- Throws:
OperationException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.