Skip to content
Discussion options

You must be logged in to vote

The Spring Security integration lets you use @Secured on data fetchers. It does not take care of SecurityContextHolder.

At Netflix we have an executor that is set up with thread local data, and for DGS we use this executor when creating CompletableFutures. You could possibly use a similar pattern, but it doesn't come out of the box with DGS.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eneoli
Comment options

@srinivasankavitha
Comment options

Answer selected by victorlevasseur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants