Skip to content

Commit 5060f86

Browse files
committed
closes #340
1 parent cdddd13 commit 5060f86

File tree

1 file changed

+1
-6
lines changed
  • grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/security

1 file changed

+1
-6
lines changed

grpc-spring-boot-starter/src/main/java/org/lognet/springboot/grpc/security/GrpcSecurity.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,7 @@ protected AfterInvocationManager afterInvocationManager() {
151151
AfterInvocationProviderManager invocationProviderManager = new AfterInvocationProviderManager();
152152
ExpressionBasedPostInvocationAdvice postAdvice = new ExpressionBasedPostInvocationAdvice(
153153
new DefaultMethodSecurityExpressionHandler());
154-
PostInvocationAdviceProvider postInvocationAdviceProvider = new PostInvocationAdviceProvider(postAdvice){
155-
@Override
156-
public boolean supports(Class<?> clazz) {
157-
return MethodInvocation.class.isAssignableFrom(clazz); //todo : remove once fixed https://github.com/spring-projects/spring-security/issues/10236
158-
}
159-
};
154+
PostInvocationAdviceProvider postInvocationAdviceProvider = new PostInvocationAdviceProvider(postAdvice);
160155

161156

162157

0 commit comments

Comments
 (0)