You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, Intellij points out that AccessDecisionManager, AccessDecisionVoter and UnanimousBased are all deprecated. Spring advises to use AuthorizationManager. In a normal web application, that's easy to do, but how can we make AuthenticationManager work in conjunction GrpcSecurityMetadataSource? If I remove the AccessDecisionManager, authentication/authorisation stops working (as described in GrpcSecurityMetadataSource javadoc).
The text was updated successfully, but these errors were encountered:
I've successfully implemented security based on roles to my GRPC methods by following the "Server security" tutorial.
Everything works as expected given the following code:
However, Intellij points out that
AccessDecisionManager
,AccessDecisionVoter
andUnanimousBased
are all deprecated. Spring advises to useAuthorizationManager
. In a normal web application, that's easy to do, but how can we makeAuthenticationManager
work in conjunctionGrpcSecurityMetadataSource
? If I remove theAccessDecisionManager
, authentication/authorisation stops working (as described inGrpcSecurityMetadataSource
javadoc).The text was updated successfully, but these errors were encountered: