# ADD THIS TO THE END OF YOUR APACHE'S HTTPD.CONF
######
## SHIB Config
######
#
# Load the Shibboleth module.
#
LoadModule mod_shib @-LIBEXECDIR-@/mod_shib_13.so
#
# Global Configuration
# This is the XML file that contains all the global, non-apache-specific
# configuration. Look at this file for most of your configuration parameters.
#
ShibSchemaDir @-PKGXMLDIR-@
ShibConfig @-PKGSYSCONFDIR-@/shibboleth.xml
#
# An Apache handler needs to be established for the "handler" location.
# This applies the handler to any requests for a resource with a ".sso"
# extension.
#
SetHandler shib-handler
#
# Another way of addressing this is to apply Shibboleth
# globally to the site in "lazy" session mode:
#
# AuthType shibboleth
# require shibboleth
#
#
# Used for example logo and style sheet in error templates.
#
Alias /shibboleth-sp/main.css @-PREFIX-@/doc/shibboleth/main.css
Alias /shibboleth-sp/logo.jpg @-PREFIX-@/doc/shibboleth/logo.jpg
#
# Configure the module for content
#
# You can now do most of this in shibboleth.xml using the RequestMap
# but you MUST enable AuthType shibboleth for the module to process
# any requests, and there MUST be a require command as well. To
# enable Shibboleth but not specify any session/access requirements
# use "require shibboleth".
#
AuthType shibboleth
ShibRequireSession On
require valid-user