public class BasicAuthPublicApiFactory extends Object implements PublicApiFactory
| Constructor and Description |
|---|
BasicAuthPublicApiFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.social.alfresco.api.Alfresco |
getAdminPublicApi()
Get a public api connection for the admin user.
|
int |
getConnectionTimeoutMs() |
String |
getContext() |
String |
getHost() |
int |
getMaxNumberOfConnections() |
int |
getPort() |
org.springframework.social.alfresco.api.Alfresco |
getPublicApi(String username,
String password)
Get a public api connection for the "username"
|
String |
getPublicApiServletName() |
String |
getScheme() |
String |
getServiceServletName() |
int |
getSocketTimeoutMs() |
int |
getSocketTtlMs() |
org.springframework.social.alfresco.api.Alfresco |
getTenantAdminPublicApi(String domain)
Get a public api connection for the admin user of the given domain.
|
boolean |
isIgnoreServletName() |
void |
setConnectionTimeoutMs(int connectionTimeoutMs) |
void |
setContext(String context) |
void |
setHost(String host) |
void |
setIgnoreServletName(boolean ignoreServletName) |
void |
setMaxNumberOfConnections(int maxNumberOfConnections) |
void |
setPort(int port) |
void |
setPublicApiServletName(String publicApiServletName) |
void |
setScheme(String scheme) |
void |
setServiceServletName(String serviceServletName) |
void |
setSocketTimeoutMs(int socketTimeoutMs) |
void |
setSocketTtlMs(int socketTtlMs) |
public String getContext()
public boolean isIgnoreServletName()
public String getScheme()
public String getHost()
public int getPort()
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 PublicApiFactorypublic int getMaxNumberOfConnections()
public void setMaxNumberOfConnections(int maxNumberOfConnections)
public int getConnectionTimeoutMs()
public void setConnectionTimeoutMs(int connectionTimeoutMs)
public int getSocketTimeoutMs()
public void setSocketTimeoutMs(int socketTimeoutMs)
public int getSocketTtlMs()
public void setSocketTtlMs(int socketTtlMs)
public String getPublicApiServletName()
public void setPublicApiServletName(String publicApiServletName)
public String getServiceServletName()
public void setServiceServletName(String serviceServletName)
public void setScheme(String scheme)
public void setHost(String host)
public void setPort(int port)
public void setContext(String context)
public void setIgnoreServletName(boolean ignoreServletName)
Copyright © 2016 Alfresco Software. All rights reserved.