summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-fw/src/main
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2017-05-24 10:20:53 -0400
committerst782s <statta@research.att.com>2017-05-24 10:22:16 -0400
commit34f706fedc5536caf2a218dbcd809991a1b484dd (patch)
treeceabff4d5e7ec89ed866ce1451366479cb0bd426 /ecomp-sdk/epsdk-fw/src/main
parentc081bd0a7db3f434e76c03a9ca0334539ee84470 (diff)
[PORTAL-10] Enhancing Drill Down
Changes have been made to improve the stability of Drill down capabilities. Change-Id: I6d4831b69f19f9b33cf43b65acc6dd7c5deebb67 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-fw/src/main')
-rw-r--r--ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/util/SSOUtil.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/util/SSOUtil.java b/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/util/SSOUtil.java
index 67ac567d..87134d3c 100644
--- a/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/util/SSOUtil.java
+++ b/ecomp-sdk/epsdk-fw/src/main/java/org/openecomp/portalsdk/core/onboarding/util/SSOUtil.java
@@ -17,9 +17,12 @@ public class SSOUtil {
* Constructs a path for this server, this app's context, etc.
*
* @param request
+ * HttpServletRequest
* @param response
+ * HttpServletResponse
* @param forwardPath
- * @return
+ * Path to forward user
+ * @return Redirect URL
*/
public static String getECOMPSSORedirectURL(HttpServletRequest request, HttpServletResponse response,
String forwardPath) {
@@ -29,13 +32,11 @@ public class SSOUtil {
try {
encodedAppURL = URLEncoder.encode(appURL, "UTF-8");
} catch (UnsupportedEncodingException ex) {
- logger.error("getECOMPSSORedirectURL: Failed to encode app URL "
- + appURL);
+ logger.error("getECOMPSSORedirectURL: Failed to encode app URL " + appURL);
}
String portalURL = PortalApiProperties.getProperty(PortalApiConstants.ECOMP_REDIRECT_URL);
if (portalURL == null || portalURL.length() == 0) {
- logger.error("getECOMPSSORedirectURL: Failed to get property " +
- PortalApiConstants.ECOMP_REDIRECT_URL);
+ logger.error("getECOMPSSORedirectURL: Failed to get property " + PortalApiConstants.ECOMP_REDIRECT_URL);
return null;
}
String redirectURL = portalURL + "?redirectUrl=" + encodedAppURL;