akshayrai commented on a change in pull request #4326: [TE] Clean up and inject 
ThirdEye Credentials into SecurityContext
URL: https://github.com/apache/incubator-pinot/pull/4326#discussion_r294552294
 
 

 ##########
 File path: 
thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/auth/ThirdEyeCredentials.java
 ##########
 @@ -22,9 +22,18 @@
 import java.util.Objects;
 
 
-public class Credentials {
+public class ThirdEyeCredentials {
   String principal;
   String password;
+  String token;
 
 Review comment:
   Token exists for all the users. This PR only addresses injecting the 
authenticated user into the `SecurityContext`. That way we can access the user 
from every api call.
   
   I will send a followup PR to add the service restriction.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to