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)
sid
- the Nuxeo Core session id.WSRemotingSession getSession(String sid)
sid
- the Nuxeo Core session id.WSRemotingSession
instance.Copyright © 2017 Nuxeo. All rights reserved.