Skip to content

How to apply different authentication settings to different services/methods (Spring security) #286

Answered by jvmlet
nsobadzhiev asked this question in Q&A
Discussion options

You must be logged in to vote

If you have a look at this api you can get the idea how to achieve what you are after. Just inject GRpcServicesRegistry into your adapter bean, filter services you want to secure and call services method.
You should be using strongly typed generated service descriptor to filter it out from the all the services.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@nsobadzhiev
Comment options

@jvmlet
Comment options

@nsobadzhiev
Comment options

@jvmlet
Comment options

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