PAS Alfresco Setup

The PAS REST module comes with built in integration with the Alfresco Document Management server. This integration allows the PAS REST service to provide permission based access at the user level to documents.

Note: the Alfresco storage integration is only available for the PAS REST services NOT the Automation Server.

Setup Instructions

1. You will need to already have an Alfresco Document Storage server setup and running. This can be on the same server as PAS or on a different server that the PAS server has access to. Learn more at

2. Create a file called "" that contains 2 entries:

For example the values in the file may look like this:



auth=Basic yKk3hos4dhoSsdfS2Df72

Note: Make sure to replace the host & port with the values for your Alfresco server

3. Place the properties file in the directory below based on your OS.  

4. Restart the QoppaPAS service to load the new properties file (or new changes to the file)

5. In PAS Manager go to Settings -> REST -> Server and choose the following settings:

6. Then click OK to apply the settings.

7. Once complete, all REST calls to the PAS server going forward will use the Alfresco storage instance


Root Directory

With the above example, the baseDir is set to the root Alfresco directory. A file in a user directory would be accessed at a URL like this:

http://host:port/qoppapdf/v1/documents/User Homes/username/userdoc.pdf

User Directory

If you only want to serve files in a certain directory, you can set the "baseDir" property to that directory (i.e. baseDir=/User Homes/username/) and then files would be accessed at a URL like this instead:




Qoppa Software's PDF Automation Server for Windows, Linux, Unix, and macOS

Automate PDF Document Workflows through RESTful Web Services & Folder Watching

Copyright © 2002-Present Qoppa Software. All rights reserved.