Skip to content

Commit eaff7f7

Browse files
committed
Formatting
1 parent 7ed8df6 commit eaff7f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spring-grpc-core/src/main/java/org/springframework/grpc/server/security/AuthenticationProcessInterceptor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ public <ReqT, RespT> Listener<ReqT> interceptCall(ServerCall<ReqT, RespT> call,
9595
else if (user == null || !user.isAuthenticated()) {
9696
throw new BadCredentialsException("not authenticated");
9797
}
98-
// Only if successfully authenticated and authorized do we set the context for the call
98+
// Only if successfully authenticated and authorized do we set the context for the
99+
// call
99100
SecurityContextHolder.setContext(securityContext);
100101

101102
try {

0 commit comments

Comments
 (0)