diff options
author | 2022-08-22 11:05:42 +0100 | |
---|---|---|
committer | 2022-08-22 18:52:13 +0000 | |
commit | 12af6a010abc5e12030933e9d192ed712dfc99cb (patch) | |
tree | 8f6cacf1293b0fb31a15549d81240218394b57ce /catalog-be/src/main/java/org/openecomp | |
parent | 9efabf266f2c21ba7aa30a2ddea5eabfc145ac43 (diff) |
Fix use of encrypted user in backend
Signed-off-by: MichaelMorris <michael.morris@est.tech>
Issue-ID: SDC-4141
Change-Id: I4ebef3cb44eee6d15cde7ae1e2c88fa91ac6ff20
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/filters/ThreadLocalUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/filters/ThreadLocalUtils.java b/catalog-be/src/main/java/org/openecomp/sdc/be/filters/ThreadLocalUtils.java index d895b694f5..1cd84d02a7 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/filters/ThreadLocalUtils.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/filters/ThreadLocalUtils.java @@ -83,7 +83,7 @@ public class ThreadLocalUtils implements IUsersThreadLocalHolder { private void updateUserContext(String user_id) { User user = userBusinessLogic.getUser(user_id, false); Set<String> roles = new HashSet<>(Arrays.asList(user.getRole())); - UserContext userContext = new UserContext(user_id, roles, user.getFirstName(), user.getLastName()); + UserContext userContext = new UserContext(user.getUserId(), roles, user.getFirstName(), user.getLastName()); ThreadLocalsHolder.setUserContext(userContext); } } |