USER Code Block |
---|
system.user (Instance) |
This attribute contains a relation to the active user instance (@User@). The active user contains the following attributes. Code Block |
---|
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 as mentioned in my previous comment. You can do this by using a default provider like LDAP+authentication+provider
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 Authentication AuthenticationProvider for the SecurityContext see Runtime Authentication. |