Hello all, I came across this blog <post> on how L...
# getting-started
p
Hello all, I came across this blog post on how LinkedIn does authorizations. I was wondering whether DataHub also follows that model. A quick github repo search didn't find obvious ways to configure authorizations. Could someone link me to docs or code that may point me in the right direction? Thanks!
o
The frontend app currently does not authenticate with real credentials in the Open Source version (just validates that the username is a valid CorpUser), but the API calls are blocked behind authorization through the Rest.li framework. Rest.li has some docs here: https://linkedin.github.io/rest.li/ but I've found some of them to not be completely updated. The github repo for Rest.li is here: https://github.com/linkedin/rest.li and it hooks into Datahub through the ParallelRestliHttpRequestHandler for the GMS service: https://github.com/linkedin/datahub/blob/master/gms/factories/src/main/java/com/linkedin/restli/server/spring/ParallelRestliHttpRequestHandler.java hopefully this helps.
p
Thank you for your reply! ParallelRestliHttpRequestHandler was just what I was looking for.
👍 1