From 5a55f632960ea17ce307f671a2d1b93fd90f0585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no> Date: Thu, 8 Nov 2007 09:50:18 +0000 Subject: [PATCH] adding configuration and metadata file for openid git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@69 44740490-163a-0410-bde0-09ae8108e29a --- config/config-template.php | 7 +++++++ metadata-templates/openid-provider.php | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 metadata-templates/openid-provider.php diff --git a/config/config-template.php b/config/config-template.php index b9c8eb841..064489daf 100644 --- a/config/config-template.php +++ b/config/config-template.php @@ -74,6 +74,13 @@ $config = array ( 'auth.radius.port' => '1812', 'auth.radius.secret' => 'topsecret' + /* + * These parameters are only relevant if you setup an OpenID Provider. + */ + 'openid.userid_attributename' => 'eduPersonPrincipalName', + 'openid.delegation_prefix' => 'https://openid.feide.no/', + 'openid.filestore' => '/tmp/openidstore', + ); diff --git a/metadata-templates/openid-provider.php b/metadata-templates/openid-provider.php new file mode 100644 index 000000000..d910701f2 --- /dev/null +++ b/metadata-templates/openid-provider.php @@ -0,0 +1,22 @@ +<?php +/* + * OpenID Provider configuration + * + */ + + +$metadata = array( + + // Use the hostname as the array key + 'openidserver.example.org' => array( + + // The hostname of the server (VHOST) that this SAML entity will use. + 'host' => 'openidserver.example.org', + + // Authentication plugin to use. auth/login.php is the default one that uses LDAP. + 'auth' => 'saml2/sp/initSSO.php' + ) + +); + +?> -- GitLab