From 8429bcdf93e653061e972689774bbab3966742e2 Mon Sep 17 00:00:00 2001 From: statta Date: Fri, 16 Aug 2019 12:14:10 -0400 Subject: Migrating screens to Angular 7 Issue-ID: PORTAL-706 Change-Id: Ic3feb4019923040aafe6e9a97a60b41165be8b40 Signed-off-by: statta --- .../java/org/onap/portalapp/controller/core/ProfileController.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ecomp-sdk/epsdk-app-common/src/main/java/org/onap') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java index 5c96e169..97c156b5 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/ProfileController.java @@ -188,6 +188,9 @@ public class ProfileController extends RestrictedBaseController { user.setTimeZoneId(Long.parseLong(selectedTimeZone)); } service.saveUser(user); + HttpSession session = request.getSession(true); + session.setAttribute(SystemProperties.getProperty(SystemProperties.USER_ATTRIBUTE_NAME), user); + logger.info(EELFLoggerDelegate.auditLogger, "Save profile for user {}", profileId); response.setCharacterEncoding(UTF8); response.setContentType(APPLICATION_JSON); -- cgit 1.2.3-korg