From c903833629461c1762d65d5cd4ea2430188fdc4a Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Tue, 7 Jun 2011 06:44:44 +0000 Subject: [PATCH] minor betterings :) git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@10037 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- info.textgrid.middleware.tgauth.webauth/secure/portal.cgi | 2 +- .../tglib/RBAC.class.php | 6 ++++++ .../tglib/WebUtils.class.php | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/info.textgrid.middleware.tgauth.webauth/secure/portal.cgi b/info.textgrid.middleware.tgauth.webauth/secure/portal.cgi index 8a1caa6..188b43a 100644 --- a/info.textgrid.middleware.tgauth.webauth/secure/portal.cgi +++ b/info.textgrid.middleware.tgauth.webauth/secure/portal.cgi @@ -128,7 +128,7 @@ Your delegated credential was successfully retrieved and stored in TG-auth*. Her <pre> $certificate </pre> -The corresponding private key is now held by TG-auth*. This service will be integrated in the TextGrid middleware soon. +The corresponding private key is now held by TG-auth*. <p> <form method="post" action="$noDelegationURL"> <input type="hidden" name="ePPNplusSID" value="$eppn|$sid" /> diff --git a/info.textgrid.middleware.tgauth.webauth/tglib/RBAC.class.php b/info.textgrid.middleware.tgauth.webauth/tglib/RBAC.class.php index e1c6890..0bf1a2d 100644 --- a/info.textgrid.middleware.tgauth.webauth/tglib/RBAC.class.php +++ b/info.textgrid.middleware.tgauth.webauth/tglib/RBAC.class.php @@ -255,6 +255,12 @@ class RBAC { // ------------------------------------- // Creating the session... $creReq->sid = $Sid; + // $file=fopen("/tmp/creq", "a+"); + //fwrite ($file, "--------------\n"); + //fwrite ($file, serialize ($creReq)); + //fwrite ($file, "\n"); + //fclose($file); + try { $creResponse = $this->soapPolicy->createSession( $creReq ); diff --git a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php index 32e6903..ac2c36a 100644 --- a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php +++ b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php @@ -148,7 +148,7 @@ class WebUtils { if (isset($rbachash["identity_provider"])) { echo "<tr><td>Shibboleth Identity ProviderID</td><td>". $rbachash["identity_provider"] ."</td></tr>\n"; } - if (isset($rbachash["$identified_user"]['authnmethod'] )) { + if (isset($rbachash["identified_user"]['authnmethod'] )) { echo "<tr><td>User ID Attribute Name</td><td>". $rbachash["identified_user"]['authnmethod'] ."</td></tr>\n"; } if (isset($rbachash["remote_user"])) { -- GitLab