summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-sp/setup.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-16 15:57:55 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-16 15:57:55 +0000
commit40940b95aaefd87f9af96439669cc6cb184d69ef (patch)
treef0d65eaa1369aeaca88f5774f2ca2cba4932ca27 /php/Attic/examples/sample-sp/setup.php
parent7ea2275ca076a880c27448cdbdfe09ffa9f15db8 (diff)
downloadlasso-40940b95aaefd87f9af96439669cc6cb184d69ef.tar.gz
lasso-40940b95aaefd87f9af96439669cc6cb184d69ef.tar.xz
lasso-40940b95aaefd87f9af96439669cc6cb184d69ef.zip
New logging system with a web interface.
Diffstat (limited to 'php/Attic/examples/sample-sp/setup.php')
-rw-r--r--php/Attic/examples/sample-sp/setup.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/php/Attic/examples/sample-sp/setup.php b/php/Attic/examples/sample-sp/setup.php
index 01d283ed..eebd81ed 100644
--- a/php/Attic/examples/sample-sp/setup.php
+++ b/php/Attic/examples/sample-sp/setup.php
@@ -50,6 +50,7 @@
'sp-public_key' => $cwd . "/public-key_sp1.pem",
'sp-private_key' => $cwd . "/private-key-raw_sp1.pem",
'sp-ca' => $cwd . "/certificate_sp1.pem",
+ 'providerID' => "https://idp1/metadata",
'idp-metadata' => $cwd . "/metadata_idp1.xml",
'idp-public_key' => $cwd . "/public-key_idp1.pem",
'idp-ca' => $cwd . "/certificate_idp1.pem",
@@ -145,6 +146,7 @@
$keys = array_keys($config);
$files = preg_grep("/(sp|idp)/", $keys);
+
foreach($files as $file)
{
print "<br>Check file " . $config[$file] . " : ";
@@ -293,10 +295,17 @@
</tr>
<tr>
+ <td>ProviderID :</td>
+ <td><input type='text' name='providerID' size='50' value='<?php echo $config['providerID']; ?>'></td>
+ <td>&nbsp;</td>
+</tr>
+
+<tr>
<td>Metadata :</td>
<td><input type='text' name='idp-metadata' size='50' value='<?php echo $config['idp-metadata']; ?>'></td>
<td>&nbsp;</td>
</tr>
+
<tr>
<td>Public Key :</td>
<td><input type='text' name='idp-public_key' size='50' value='<?php echo $config['idp-public_key']; ?>'>