Handling gRPC Authorization using Context in Java

1 · Kumar Rohit · Aug. 1, 2019, midnight
In the Grpc world, we have secured our application by encrypting the channel and authenticating the requests using interceptors. So we have secured our application but we still do have control over which service can be accessed by whom. To handle authorization, we will leverage Context provided by grpc to pass UserInfo into services. Time to setup our project. Pom We will create a maven project add the following dependencies: <dependencies> <dependency> <groupId>io.grpc</...