public interface WSRemotingSessionManager
Modifier and Type | Method and Description |
---|---|
void |
addSession(String sid,
WSRemotingSession session)
Adds a new session.
|
WSRemotingSession |
createSession(String username,
String password,
String repository,
UserManager um,
CoreSession session)
Creates a new remoting session.
|
void |
delSession(String sid)
Deletes a session if it exists.
|
WSRemotingSession |
getSession(String sid)
Return a session given its Nuxeo Core session id if exists.
|
WSRemotingSession createSession(String username, String password, String repository, UserManager um, CoreSession session)
username
- the user name.password
- the user passwordrepository
- the repository nameum
- the user managersession
- the Nuxeo Core sessionWSRemotingSession
instance.void addSession(String sid, WSRemotingSession session)
sid
- the nuxeo core session id.session
- the web service remoting session.void delSession(String sid) throws ClientException
sid
- the Nuxeo Core session id.ClientException
WSRemotingSession getSession(String sid) throws ClientException
sid
- the Nuxeo Core session id.WSRemotingSession
instance.ClientException
- if the session does not exist anymore.Copyright © 2015 Nuxeo SA. All rights reserved.