public abstract class RepositorySession extends AbstractAlfrescoSessionImpl
Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_ID
Define the specific repository identifier.
|
authenticator, baseUrl, cmisSession, DEFAULT_CACHE_FOLDER_PATH, hasPublicAPI, passThruAuthenticator, password, PASSWORD, repositoryInfo, rootNode, services, USER, userIdentifier, userParameters
AUTHENTICATOR_CLASSNAME, CACHE_FOLDER, CLOUD_SERVICES_CLASSNAME, CREATE_THUMBNAIL, EXTRACT_METADATA, HTTP_ACCEPT_ENCODING, HTTP_ACCEPT_LANGUAGE, HTTP_CHUNK_TRANSFERT, HTTP_INVOKER_CLASSNAME, LISTING_MAX_ITEMS, ONPREMISE_SERVICES_CLASSNAME
Constructor and Description |
---|
RepositorySession() |
Modifier and Type | Method and Description |
---|---|
static RepositorySession |
connect(String url,
SamlData data) |
static RepositorySession |
connect(String url,
SamlData data,
Map<String,Serializable> parameters) |
static RepositorySession |
connect(String url,
String username,
String password)
Creates a new instance of a RepositorySession representing the repository
specified in the url parameter.
|
static RepositorySession |
connect(String url,
String username,
String password,
Map<String,Serializable> parameters)
Creates and authenticates a session represented by the URL using the
given user identifier and password.
|
addParameter, addParameters, clear, createAuthenticationProvider, createServiceRegistry, createSession, createSession, getAuthenticationProvider, getBaseUrl, getCmisSession, getDefaultListingContext, getParameter, getParameterKeys, getPassthruAuthenticationProvider, getPersonIdentifier, getRepositoryIdentifier, getRepositoryInfo, getRootFolder, getServiceRegistry, hasForceBinding, hasParameter, initSettings, initSettings, removeParameter, retrieveSessionParameters
public static final String REPOSITORY_ID
public static RepositorySession connect(String url, String username, String password, Map<String,Serializable> parameters)
url
- username
- password
- AlfrescoSessionException
public static RepositorySession connect(String url, String username, String password)
SessionSettings
.url
- : Base URL associated to the repository. For example :
http://hostname:port/alfrescopublic static RepositorySession connect(String url, SamlData data)
url
- data
- public static RepositorySession connect(String url, SamlData data, Map<String,Serializable> parameters)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.