Setting up a Connector Without Custom Configuration

You can set up a connector that does not require additional configuration. When you do, you should remove the hooks to the Connector Configuration pages.

  1. Remove the ‘*ConfigPath*’ context-param values from the web.xml file.
  2. Copy the FileSysContextListener.java file to the directory in which are working on the connector and replace "FileSys" with the name of your custom connector.
  3. In the FileSysContextListener.java file, you must create a ContextDescripter and register it, but, you can pass an empty value for the CONFIG_PATH and CONFIG_AUTH_PATH_MATCH settings.

    • Modify the (renamed) FileSysContextListener.java file and change the values of the static variables at the top to match the class name for the implementation and the settings in the web.xml fragment.
    • Modify the V1SCMServices class and change the value of “supportedFeatures” to contain only the capabilities you initially want to support. We recommend keeping the current value under a different name, so you have it available for reference.