summaryrefslogtreecommitdiffstats
path: root/php/Attic/examples/sample-idp/admin_user.php
diff options
context:
space:
mode:
authorChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-23 16:00:54 +0000
committerChristophe Nowicki <cnowicki@easter-eggs.com>2004-09-23 16:00:54 +0000
commitf94170a65c5585a2c955d14360becd3e2ca98ac2 (patch)
tree925f029ba25f31676fa92ca40113660c6423c5b5 /php/Attic/examples/sample-idp/admin_user.php
parent662764422bbf1b01decc01d414a7ab9d0db63958 (diff)
downloadlasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.tar.gz
lasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.tar.xz
lasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.zip
Group misc functions into misc.php on the idp and sp
Add Federation Terminaison metadata on the idp and sp Add view off federation on the sp Add cancel federation button on the sp and idp Defederation is not working yet
Diffstat (limited to 'php/Attic/examples/sample-idp/admin_user.php')
-rw-r--r--php/Attic/examples/sample-idp/admin_user.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/php/Attic/examples/sample-idp/admin_user.php b/php/Attic/examples/sample-idp/admin_user.php
index 2ce14992..5e73a82e 100644
--- a/php/Attic/examples/sample-idp/admin_user.php
+++ b/php/Attic/examples/sample-idp/admin_user.php
@@ -255,18 +255,16 @@
if (!empty($identity_dump))
{
$login->setIdentityFromDump($identity_dump);
-
$identity = $login->identity;
- // FIXME : providerIds is empty
- // var_dump($identity->providerIds);
+ $providerIDs = $identity->providerIds;
?>
<table width="100%">
<?php
- for($i = count($providerIDs); $i > 0; $i--)
- {
+ for($i = 0; $i < $providerIDs->length() ; $i++)
+ {
?>
<tr>
- <td align='center'><?php echo print $providerIDs[$i - 1]; ?></td>
+ <td align='center'><?php echo $providerIDs->getItem($i); ?></td>
<td align='right'><a href="">cancel federation</a></td>
</tr>
<?php