open-xchange-cas
CAS SSO Plugin for Open-Xchange as an OSGi Bundle with ClearPass support, so that credentials will be stored for mail server access.
Configuration file: /src/main/resources/conf/cas-sso.properties
Installation:
- Import project into Maven-enabled Eclipse
- Add Open-XChange and JSON Libraries to build path (com.openexchange.configread, com.openexchange.documentation, com.openexchange.global, com.openexchange.java, com.openexchange.osgi, com.openexchange.server)
- Export a library jar called "openxchange-cas-sso.jar" (due to OSGi Classpath)
- Place jar in OX folder "bundles/de.hofuniversity.iisys.ox.sso/"
- Edit cas-sso.properties to match your setup
- Place contents of /src/main/resources/ in "bundles/de.hofuniversity.iisys.ox.sso/"
- Place cas-sso.properties in etc/ (in OX directory)
- echo "/opt/open-xchange/bundles/de.hofuniversity.iisys.ox.sso@start" > osgi/bundle.d/de.hofuniversity.iisys.ox.sso.ini
- Restart Open-XChange
Set an automatic redirect in /opt/open-xchange/etc/as-config.yml:
default:
host: all
loginLocation: 'http://$HOST/appsuite/api/casauth'
logoutLocation: 'http://$HOST/cas/logout'