public class BasicAuthPublicApiFactory extends Object implements PublicApiFactory
| Constructor and Description |
|---|
BasicAuthPublicApiFactory(String scheme,
String host,
int port,
org.springframework.social.alfresco.api.CMISEndpoint preferredCMISEndPoint,
int maxNumberOfConnections,
int connectionTimeoutMs,
int socketTimeoutMs,
int socketTtlMs) |
BasicAuthPublicApiFactory(String scheme,
String host,
int port,
org.springframework.social.alfresco.api.CMISEndpoint preferredCMISEndPoint,
int maxNumberOfConnections,
int connectionTimeoutMs,
int socketTimeoutMs,
int socketTtlMs,
String context,
String publicApiServletName,
String serviceServletName) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.social.alfresco.api.Alfresco |
getAdminPublicApi()
Get a public api connection for the admin user.
|
String |
getContext() |
String |
getHost() |
int |
getPort() |
org.springframework.social.alfresco.api.CMISEndpoint |
getPreferredCMISEndPoint() |
org.springframework.social.alfresco.api.Alfresco |
getPublicApi(String username,
String password)
Get a public api connection for the "username"
|
String |
getScheme() |
org.springframework.social.alfresco.api.Alfresco |
getTenantAdminPublicApi(String domain)
Get a public api connection for the admin user of the given domain.
|
boolean |
isIgnoreServletName() |
public BasicAuthPublicApiFactory(String scheme, String host, int port, org.springframework.social.alfresco.api.CMISEndpoint preferredCMISEndPoint, int maxNumberOfConnections, int connectionTimeoutMs, int socketTimeoutMs, int socketTtlMs)
public BasicAuthPublicApiFactory(String scheme, String host, int port, org.springframework.social.alfresco.api.CMISEndpoint preferredCMISEndPoint, int maxNumberOfConnections, int connectionTimeoutMs, int socketTimeoutMs, int socketTtlMs, String context, String publicApiServletName, String serviceServletName)
public String getContext()
public boolean isIgnoreServletName()
public String getScheme()
public String getHost()
public int getPort()
public org.springframework.social.alfresco.api.CMISEndpoint getPreferredCMISEndPoint()
public org.springframework.social.alfresco.api.Alfresco getPublicApi(String username, String password)
PublicApiFactorygetPublicApi in interface PublicApiFactoryusername - the user name of the userpassword - user passwordpublic org.springframework.social.alfresco.api.Alfresco getTenantAdminPublicApi(String domain)
PublicApiFactorygetTenantAdminPublicApi in interface PublicApiFactorydomain - the domain id of the domain admin userpublic org.springframework.social.alfresco.api.Alfresco getAdminPublicApi()
PublicApiFactorygetAdminPublicApi in interface PublicApiFactoryCopyright © 2015 Alfresco Software. All rights reserved.