org.springframework.extensions.webscripts.connector
Class AlfrescoConnector

java.lang.Object
  extended by org.springframework.extensions.webscripts.connector.AbstractConnector
      extended by org.springframework.extensions.webscripts.connector.HttpConnector
          extended by org.springframework.extensions.webscripts.connector.AlfrescoConnector
All Implemented Interfaces:
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 Http Connector and provides the additional functionality of stamping a ticket onto the outgoing request. The ticket is retrieved from the connector session.

Author:
muzquiano

Field Summary
 
Fields inherited from class org.springframework.extensions.webscripts.connector.AbstractConnector
connectorSession, descriptor, endpoint
 
Constructor Summary
AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor, String endpoint)
          Instantiates a new alfresco connector.
 
Method Summary
protected  void applyRequestAuthentication(RemoteClient remoteClient, ConnectorContext context)
          Stamps Credentials values onto the remote client
 
Methods inherited from class org.springframework.extensions.webscripts.connector.HttpConnector
call, call, call, call, initRemoteClient, processResponse
 
Methods inherited from class org.springframework.extensions.webscripts.connector.AbstractConnector
call, getConnectorSession, getCredentials, getEndpoint, setConnectorSession, setCredentials, setEndpoint, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlfrescoConnector

public AlfrescoConnector(RemoteConfigElement.ConnectorDescriptor descriptor,
                         String endpoint)
Instantiates a new alfresco connector.

Parameters:
descriptor - the descriptor
endpoint - the endpoint
Method Detail

applyRequestAuthentication

protected void applyRequestAuthentication(RemoteClient remoteClient,
                                          ConnectorContext context)
Description copied from class: HttpConnector
Stamps Credentials values onto the remote client

Overrides:
applyRequestAuthentication in class HttpConnector


Copyright © 2009 SpringSource, Inc. All Rights Reserved.