You are viewing the documentation for Blueriq 16. Documentation for other versions is available in our documentation directory.
USER
This attribute contains a relation to the active user instance (@User@).
system.user (Instance)
The active user contains the following attributes:
system.user.id (String) system.user.Roles (List) system.user.teams (List) system.user.userName (String) system.user.tenant (String)
These properties are extracted from the UserData object which is automatically filled from the Authentication from the SecurityContext. Do not modify these properties, because in every newly created session these will be extracted again from the Authentication object in the Spring SecurityContext.
The proper way to get your user information copied to new AquimaSessions is to set the Spring Authentication object through the "org.springframework.security.authentication.AuthenticationProvider". For implementing an AuthenticationProvider for the SecurityContext see Runtime authentication.