public interface CmisSessionPool
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession(org.apache.chemistry.opencmis.client.api.Session session)
Finish using a session.
|
org.apache.chemistry.opencmis.client.api.Session |
getGuestSession()
Get an anonymous connection for guest site visitors.
|
org.apache.chemistry.opencmis.client.api.Session |
getSession(String username,
String password)
Get a session authenticated against the repository.
|
org.apache.chemistry.opencmis.client.api.Session getGuestSession()
throws Exception
Exceptionorg.apache.chemistry.opencmis.client.api.Session getSession(String username, String password)
username - repository usernamepassword - repository passwordCopyright © 2005–2014 Alfresco Software. All rights reserved.