From 1ab4d44603a91a84a34e34b5fc896fe8a227bca4 Mon Sep 17 00:00:00 2001 From: "arul.nambi" Date: Thu, 31 Aug 2017 15:15:00 -0400 Subject: [AAI-244] grep scan Issue-ID:AAI-244 Change-Id: Ibc51a8c72c411cff9ffc5b58bd40439ff3d703be Signed-off-by: arul.nambi --- src/main/java/org/openecomp/sparky/security/EcompSso.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/java/org/openecomp/sparky/security/EcompSso.java') diff --git a/src/main/java/org/openecomp/sparky/security/EcompSso.java b/src/main/java/org/openecomp/sparky/security/EcompSso.java index 654af96..c771e6c 100644 --- a/src/main/java/org/openecomp/sparky/security/EcompSso.java +++ b/src/main/java/org/openecomp/sparky/security/EcompSso.java @@ -80,7 +80,7 @@ public class EcompSso { * then searches for a CSP cookie; if not found, for a WebJunction header. * * @param request - * @return ATT UID if the ECOMP cookie is present and the sign-on process established an ATT UID; + * @return User ID if the ECOMP cookie is present and the sign-on process established an User ID; * else null. */ public static String validateEcompSso(HttpServletRequest request) { @@ -98,23 +98,23 @@ public class EcompSso { } /** - * Searches the specified request for the CSP cookie, decodes it and gets the ATT UID. + * Searches the specified request for the CSP cookie, decodes it and gets the User ID. * * @param request - * @return ATTUID if the cookie is present in the request and can be decoded successfully (expired + * @return User ID if the cookie is present in the request and can be decoded successfully (expired * cookies do not decode); else null. */ private static String getLoginIdFromCookie(HttpServletRequest request) { - String attuid = null; + String userid = null; try { String[] cspFields = getCspData(request); if (cspFields != null && cspFields.length > 5) - attuid = cspFields[5]; + userid = cspFields[5]; } catch (Throwable t) { LOG.info(AaiUiMsgs.LOGIN_FILTER_INFO, "getLoginIdFromCookie failed " + t.getLocalizedMessage()); } - return attuid; + return userid; } /** -- cgit 1.2.3-korg