diff options
author | 2017-08-31 15:15:00 -0400 | |
---|---|---|
committer | 2017-08-31 15:16:13 -0400 | |
commit | 1ab4d44603a91a84a34e34b5fc896fe8a227bca4 (patch) | |
tree | 1fbc955f7acd927c47a4c22da615096f94a16cb8 /src/main/java/org/openecomp/sparky/security/EcompSso.java | |
parent | 285a7280296e5eea3a5482c16fa7b04670875909 (diff) |
[AAI-244] grep scan
Issue-ID:AAI-244
Change-Id: Ibc51a8c72c411cff9ffc5b58bd40439ff3d703be
Signed-off-by: arul.nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'src/main/java/org/openecomp/sparky/security/EcompSso.java')
-rw-r--r-- | src/main/java/org/openecomp/sparky/security/EcompSso.java | 12 |
1 files changed, 6 insertions, 6 deletions
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; } /** |