Fix WebSessionReactiveSecurityRepository Supports Cache

Fix the checkstyle for this feature

Closes gh-8422
This commit is contained in:
Rob Winch 2022-05-03 21:08:51 -05:00
parent c6eaa05fc5
commit 67830f4111
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class WebSessionServerSecurityContextRepository implements ServerSecurity
: LogMessage.format("No SecurityContext found in WebSession: '%s'", session));
return Mono.justOrEmpty(context);
});
return (cacheSecurityContext) ? result.cache() : result;
return (this.cacheSecurityContext) ? result.cache() : result;
}
}