diff options
Diffstat (limited to 'ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller')
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginController.java | 9 | ||||
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginService.java | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginController.java b/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginController.java index 09e10e38..6f3d2278 100644 --- a/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginController.java +++ b/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginController.java @@ -174,8 +174,15 @@ public class LoginController extends EPUnRestrictedBaseController implements Log } + /* Work around a bug in ecompsdkos version 1.1.0 which hard-codes this endpoint. */ + @RequestMapping(value = {"/process_csp" }, method = RequestMethod.GET) + public ModelAndView processCsp(HttpServletRequest request, HttpServletResponse response) throws Exception { + return processSingleSignOn(request, response); + } + /* Remove this method after epsdk-app-common/.../SingleSignOnController.java is repaired. */ + @RequestMapping(value = {"/processSingleSignOn" }, method = RequestMethod.GET) - public ModelAndView processSingelSignOn(HttpServletRequest request, HttpServletResponse response) throws Exception{ + public ModelAndView processSingleSignOn(HttpServletRequest request, HttpServletResponse response) throws Exception{ Map<Object, Object> model = new HashMap<Object, Object>(); HashMap<Object, Object> additionalParamsMap = new HashMap<Object, Object>(); diff --git a/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginService.java b/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginService.java index 7d2e4518..d2c53028 100644 --- a/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginService.java +++ b/ecomp-portal-BE-os/src/main/java/org/openecomp/portalapp/controller/LoginService.java @@ -31,6 +31,6 @@ public interface LoginService { public @ResponseBody String loginValidate(HttpServletRequest request, HttpServletResponse response) throws Exception; - public ModelAndView processSingelSignOn(HttpServletRequest request, HttpServletResponse response) throws Exception; + public ModelAndView processSingleSignOn(HttpServletRequest request, HttpServletResponse response) throws Exception; } |