Skip to content
A project designed to show how to integrate Alfresco with CAS single sign on
Java Roff JavaScript Batchfile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

A sample Alfresco SDK application with CAS authentication enabled.

N.B. Note that if Alfresco is configured with external auth then you should be aware that it makes use of HTTP headers and you should take suitable steps to ensure that you are not vunerable to a header injection attack. (see platform

Use at your own risk

Please see the files in the sub projects for details of how to install each component.

You do not need to install the platform/repo amp unless you want to use the Alfresco Admin Console with CAS authentication

You will need to set the location of the repository in share-config-custom.xml.

There are several ways you can do this:

  • Build with the profile local, this includes share-config-custom.xml from the alfresco-cas-share-amp project with the default settings of localhost:8080
  • As above but setting the properties useraccess.endpoint, feed.endpoint, api.endpoint to point to a different location
  • Use a default build and put the settings in an external file e.g. /var/lib/tomcat7/shared/classes/alfresco/web-extension/share-config-custom.xml
You can’t perform that action at this time.