diff options
author | 2017-09-20 22:21:09 +0000 | |
---|---|---|
committer | 2017-09-20 22:21:09 +0000 | |
commit | 821a5c4c9630814f553913cd6d464ff3e2027d18 (patch) | |
tree | 0e780a3102f519695164a477df0d4cd43a1f64f3 /admportal/lib/CSPCheck.java | |
parent | 7629aef322c86ae2824d431f444267b46c16af7d (diff) | |
parent | b50a02c4a97676a8d4e976dbbcd6c7f8e21713a3 (diff) |
Merge "remove jar files"
Former-commit-id: 7818a148f53081c4159f49824f739c47cc7c0da6
Diffstat (limited to 'admportal/lib/CSPCheck.java')
-rw-r--r-- | admportal/lib/CSPCheck.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/admportal/lib/CSPCheck.java b/admportal/lib/CSPCheck.java deleted file mode 100644 index dac1d886..00000000 --- a/admportal/lib/CSPCheck.java +++ /dev/null @@ -1,27 +0,0 @@ -import esGateKeeper.*; -import java.util.*; -import java.io.*; -import java.net.*; -public class CSPCheck{ - -public static void main(String[] args){ - try{ - String attuid = ""; - if(args != null && args.length == 2){ - String secCookie = args[0]; - //validationEnv can be DEVL or PROD - String validationEnv=args[1]; - String retString = esGateKeeper.esGateKeeper(secCookie, "CSP", validationEnv, -5, "/tmp/"); - if(retString != null){ - String[] dataArr = retString.split("\\|"); - attuid= dataArr[5]; - - } - System.out.print("{" + "\"attuid\" : \"" + attuid + "\"}"); - } - }catch(Exception e){ - System.out.print("{" + "\"attuid\" : \"ERROR\"}"); - } -} -} - |