SPRINT-20: added setting userId security key value upon qInstance instantiation

This commit is contained in:
Tim Chamberlain
2023-02-01 21:55:53 -06:00
parent 668bf5e622
commit 84e2a7e718

View File

@ -374,6 +374,11 @@ public class Auth0AuthenticationModule implements QAuthenticationModuleInterface
qSession.setIdReference(accessToken); qSession.setIdReference(accessToken);
qSession.setUser(qUser); qSession.setUser(qUser);
/////////////////////////////////////////////////////////////////////
// put the user id reference in security key value for usierId key //
/////////////////////////////////////////////////////////////////////
qSession.withSecurityKeyValue("userId", qUser.getIdReference());
///////////////////////////////////////////////// /////////////////////////////////////////////////
// set permissions in the session from the JWT // // set permissions in the session from the JWT //
///////////////////////////////////////////////// /////////////////////////////////////////////////