auth_mellon.conf

30 lines | 1.06 kB Blame History Raw Download
MellonCacheSize 100
MellonLockFile "/run/mod_auth_mellon/lock"

# This is a server-wide configuration that will add information from the Mellon session to all requests.
<Location />
    # Add information from the mod_auth_mellon session to the request.
    MellonEnable "info"

    # Configure the SP metadata
    # This should be the files which were created when creating SP metadata.
    MellonSPPrivateKeyFile /etc/apache2/mellon/http_localhost_auth.key 

    MellonSPCertFile /etc/apache2/mellon/http_localhost_auth.cert 
    MellonSPMetadataFile /etc/apache2/mellon/http_localhost_auth.xml

    # IdP metadata. This should be the metadata file you got from the IdP.
    MellonIdPMetadataFile /etc/apache2/mellon/idp-metadata.xml

    # The location all endpoints should be located under.
    # It is the URL to this location that is used as the second parameter to the metadata generation script.
    # This path is relative to the root of the web server.
    MellonEndpointPath /mellon

    MellonSessionLength 2
</Location>

<Location /auth>
	  MellonEnable "auth"
</Location>