Skip to content

Commit 691a999

Browse files
committed
Use the same comment as the channel factory
1 parent 41eb527 commit 691a999

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

grpc-server-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/server/serverfactory/InProcessGrpcServerFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ protected InProcessServerBuilder newServerBuilder() {
8484

8585
@Override
8686
protected void configureSecurity(final InProcessServerBuilder builder) {
87-
// Nothing to configure here
87+
// No need to configure security as we are in process only.
88+
// There is also no need to throw exceptions if transport security is configured.
8889
}
8990

9091
@Override

0 commit comments

Comments
 (0)