Original-user vs principal? #23128
-
In the Trino http client, there is the When you inspect the details of a query in the UI, you see the principal and the property for original-user. What is the difference between the two? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There are things like user-mapping (https://trino.io/docs/current/security/user-mapping.html) where the username in authentication source is used to derive a user for use within Trino. e.g. from an LDAP DN to a simpler username. The former is |
Beta Was this translation helpful? Give feedback.
There are things like user-mapping (https://trino.io/docs/current/security/user-mapping.html) where the username in authentication source is used to derive a user for use within Trino. e.g. from an LDAP DN to a simpler username.
The former is
original_user
andprincipal
is what gets mapped in Trino (or the other way around, I don't remember).