aseovic / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
0 stars 2 forks source link

Support security annotations in microprofile gRPC #66

Open thegridman opened 5 years ago

thegridman commented 5 years ago

The gRPC MP server supports creating and configuring services from annotated classes. We need to be able to support using annotations to configure security in the same way that the Helidon web server does, for example @RolesAllowed, @Authenticated, etc...

The existing web server code already does a lot of annotation work. We need to refactor this code to produce a new security/annotation-support module that contains the common code shared between the web server and the gRPC server.

thegridman commented 5 years ago

This is a sizeable piece of work and requires refactoring the existing Helidon security code to pull out common annotation processing code into the helidon-security-annotations module so that both the existing Jersey security code and the new gRPC code can depend on it. This will take some thought and care.

aseovic commented 5 years ago

Waiting for Helidon team to finish security-related refactoring they are doing before we can start working on this.