From 0696bb7b32ca971af2dded2707ef21a0fbab29c7 Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Fri, 10 Sep 2010 09:09:25 +0000 Subject: [PATCH] minor mods git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@7124 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- .../rbacSoap/examples/hasPublicResources.php | 73 ------------------- 1 file changed, 73 deletions(-) delete mode 100755 info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/hasPublicResources.php diff --git a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/hasPublicResources.php b/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/hasPublicResources.php deleted file mode 100755 index 95b8377..0000000 --- a/info.textgrid.middleware.tgauth.rbac/rbacSoap/examples/hasPublicResources.php +++ /dev/null @@ -1,73 +0,0 @@ -<?php -// ####################################################### -// Author: Markus Widmer -// Creation date: 14.04.2008 -// Modification date: 14.04.2008 -// Version: 0.1.0 -// ####################################################### - - -require_once( "../soapTypes.inc.php" ); - - - -// ----------------------------------------------------- -// You'll need these services -// ----------------------------------------------------- -$soapSystem = new SoapClient( "../wsdl/tgextra.wsdl" ); - - -echo "<BODY><HTML>"; - - - - -if( isset( $_POST['project'] ) ) { - - // ----------------------------------------------------- - // If this was successfull you can add a the user you - // wish to create - // ----------------------------------------------------- - $regReq = new hasPublicResourcesRequest(); - $regReq->auth = ""; - $reqReq->log = ""; - $regReq->project = $_POST['project']; - - - echo "<HR/>"; - echo "Checking if project has public resources...<BR/>"; - - try { - - $checkResponse = $soapSystem->hasPublicResources( $regReq ); - - if( $checkResponse->result ) { - - echo "YES.<BR>"; - - } - else { - - echo "NO<BR>"; - - } - - } - catch( SoapFault $f ) { - - echo "SOAP FAULT!: " . $f->faultcode . " / " . $f->faultstring . " / " . $f->detail; - - } - -} - - -echo "<FORM action=\"hasPublicResources.php\" method=\"post\" enctype=\"multipart/form-data\">\n"; -echo "Auth: <INPUT type=\"text\" name=\"auth\" value=\"\"><BR>\n"; -echo "Project: <INPUT type=\"text\" name=\"project\" value=\"\"><BR>\n"; -echo "<INPUT type=\"submit\" value=\"Commit...\">\n"; -echo "</FORM>\n"; - -echo "</BODY></HTML>"; - -?> -- GitLab