airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata-php-gateway git commit: hacky fix to WSO2 OpenID -> CILogon issue
Date Fri, 29 Jul 2016 17:17:47 GMT
Repository: airavata-php-gateway
Updated Branches:
  refs/heads/develop 66c8de253 -> f4e06e701


hacky fix to WSO2 OpenID -> CILogon issue


Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/f4e06e70
Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/f4e06e70
Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/f4e06e70

Branch: refs/heads/develop
Commit: f4e06e701112de4acab94d6b11933f8052383773
Parents: 66c8de2
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Jul 29 13:17:43 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Jul 29 13:17:43 2016 -0400

----------------------------------------------------------------------
 app/libraries/Wsis/Wsis.php | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/f4e06e70/app/libraries/Wsis/Wsis.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Wsis.php b/app/libraries/Wsis/Wsis.php
index e764dd6..4b36d0d 100755
--- a/app/libraries/Wsis/Wsis.php
+++ b/app/libraries/Wsis/Wsis.php
@@ -220,6 +220,7 @@ class Wsis {
         }else{
             $mod_sub = $sub;
         }
+        var_dump($mod_sub);exit;
         $userProfile = $this->getUserProfile($mod_sub);
         $lastname = $userProfile['lastname'];
         $firstname = $userProfile['firstname'];
@@ -479,6 +480,7 @@ class Wsis {
         if(0 === strpos($username, 'http:/')){
             $username = substr ($username ,6);
         }
+        $username = str_replace("@"+Config::get('pga_config.wsis')['tenant-domain'], "",
$username);
         return $this->userProfileManager->getUserProfile($username);
     }
 


Mime
View raw message