From 8bc4dd747666bef25c25eeef194a044eea7511b7 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 14 Feb 2013 19:19:19 +0000 Subject: [PATCH] Have xCAT WS support credentials via header rather than uri git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/xCAT-wsapi/xcatws.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/xCAT-wsapi/xcatws.cgi b/xCAT-server/xCAT-wsapi/xcatws.cgi index fa39092a1..0e1683933 100755 --- a/xCAT-server/xCAT-wsapi/xcatws.cgi +++ b/xCAT-server/xCAT-wsapi/xcatws.cgi @@ -209,8 +209,8 @@ sub extractData { } } -my $userName; -my $password; +my $userName=http('userName'); +my $password=http('password'); sub handleRequest { if (defined $queryhash{'userName'}) {