Commit 90f366ce214a4a8054b48672d0f7fe39124c6475

Authored by Benjamin Renard
1 parent 131e60ff

Introduce anonymous user for WS (ie. impex user)

Showing 1 changed file with 13 additions and 1 deletions   Show diff stats
src/InputOutput/WSImpl/Config/WSConfigClass.php
... ... @@ -21,12 +21,14 @@ class WSConfigClass
21 21  
22 22 private static $wsResultDir = "WSRESULT";
23 23 private static $jobsFile = "WSjobs.xml";
24   - private static $LockFile = "LOCK";
25 24  
26 25 private static $WebUrl;
27 26  
28 27 private static $dataSetInfoDir = "LocalData/DataSetInfo";
29 28  
  29 + private static $anonymousUserName = "impex";
  30 + private static $anonymousUserPwd = "impexfp7";
  31 +
30 32 public static function getUrl()
31 33 {
32 34 //self::$WebUrl = "http://apus.irap.omp.eu/NEWAMDA/data/";
... ... @@ -59,5 +61,15 @@ class WSConfigClass
59 61 {
60 62 return IHMConfigClass::getGenericDataPath()."LocalData/OrbitsAll.xml";
61 63 }
  64 +
  65 + public static function getAnonymousUserName()
  66 + {
  67 + return self::$anonymousUserName;
  68 + }
  69 +
  70 + public static function getAnonymousUserPwd()
  71 + {
  72 + return self::$anonymousUserPwd;
  73 + }
62 74 }
63 75 ?>
... ...