Class AlfrescoConnector
- java.lang.Object
-
- org.springframework.extensions.webscripts.connector.AbstractConnector
-
- org.springframework.extensions.webscripts.connector.HttpConnector
-
- org.springframework.extensions.webscripts.connector.AlfrescoConnector
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,Connector
public class AlfrescoConnector extends HttpConnector
An implementation of an Alfresco Connector that can be used to conncet to an Alfresco Repository and issue URL invokes against it.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.
- Author:
- muzquiano, kevinr
-
-
Field Summary
-
Fields inherited from class org.springframework.extensions.webscripts.connector.AbstractConnector
connectorSession, descriptor, endpoint
-
-
Constructor Summary
Constructors Constructor Description AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor, java.lang.String endpoint)Instantiates a new Alfresco Connector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyRequestAuthentication(RemoteClient remoteClient, ConnectorContext context)Stamps Credentials values onto the remote client-
Methods inherited from class org.springframework.extensions.webscripts.connector.HttpConnector
applyRequestHeaders, call, call, call, call, initRemoteClient, processResponse
-
Methods inherited from class org.springframework.extensions.webscripts.connector.AbstractConnector
buildRemoteClient, call, getConnectorSession, getCredentials, getEndpoint, setApplicationContext, setConnectorSession, setCredentials, setEndpoint, toString
-
-
-
-
Constructor Detail
-
AlfrescoConnector
public AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor, java.lang.String endpoint)
Instantiates a new Alfresco Connector.- Parameters:
descriptor- the descriptorendpoint- the endpoint
-
-
Method Detail
-
applyRequestAuthentication
protected void applyRequestAuthentication(RemoteClient remoteClient, ConnectorContext context)
Description copied from class:HttpConnectorStamps Credentials values onto the remote client- Overrides:
applyRequestAuthenticationin classHttpConnector- Parameters:
remoteClient- RemoteClientcontext- ConnectorContext
-
-