The Shibboleth V1 software has reached its End of Life and is no longer supported. This documentation is available for historical purposes only.
ExtensionTipsAndTricks
Extension Tips and Tricks
- Plugins often need access to Shibboleth build properties. For example, a plugin may need to know the location of its install directory, which is a function of build properties
idp.home
andext.name
. To capture these values, specify a Java properties file in the extension'ssrc-conf
directory as follows:The placeholdersmy.idp.home=$IDP_HOME$ my.ext.name=$EXTENSION_NAME$ my.ext.path=$IDP_HOME$/etc/$EXTENSION_NAME$
$IDP_HOME$
and$EXTENSION_NAME$
will be replaced when the extension is installed. Since resources in thesrc-conf
directory are bundled in the extension JAR file, these properties are readily available to the plugin.
- While developing your extension, type
'ant compile'
from the Shibboleth root directory. At the end of a development cycle, type'ant install'
(or simply ='ant'=) to actually install the extension.
- (include your favorite development tip here)