public class AlfrescoConnector extends HttpConnector
The Alfresco Connector extends the HttpConnector and provides the additional functionality of apply authentication (usually a ticket or a cookie) onto the outgoing request.
The authentication information is retrieved from the connector session.
connectorSession, descriptor, endpoint| Constructor and Description |
|---|
AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor,
String endpoint)
Instantiates a new Alfresco Connector.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyRequestAuthentication(RemoteClient remoteClient,
ConnectorContext context)
Stamps Credentials values onto the remote client
|
applyRequestHeaders, call, call, call, call, initRemoteClient, processResponsebuildRemoteClient, call, getConnectorSession, getCredentials, getEndpoint, setApplicationContext, setConnectorSession, setCredentials, setEndpoint, toStringpublic AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor, String endpoint)
descriptor - the descriptorendpoint - the endpointprotected void applyRequestAuthentication(RemoteClient remoteClient, ConnectorContext context)
HttpConnectorapplyRequestAuthentication in class HttpConnectorremoteClient - RemoteClientcontext - ConnectorContextCopyright © 2005–2017 Alfresco Software. All rights reserved.