Skip to content

Commit 67830f4

Browse files
committed
Fix WebSessionReactiveSecurityRepository Supports Cache
Fix the checkstyle for this feature Closes gh-8422
1 parent c6eaa05 commit 67830f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/main/java/org/springframework/security/web/server/context/WebSessionServerSecurityContextRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public Mono<SecurityContext> load(ServerWebExchange exchange) {
9191
: LogMessage.format("No SecurityContext found in WebSession: '%s'", session));
9292
return Mono.justOrEmpty(context);
9393
});
94-
return (cacheSecurityContext) ? result.cache() : result;
94+
return (this.cacheSecurityContext) ? result.cache() : result;
9595
}
9696

9797
}

0 commit comments

Comments
 (0)