Fix WebSessionReactiveSecurityRepository Supports Cache
Fix the checkstyle for this feature Closes gh-8422
This commit is contained in:
parent
c6eaa05fc5
commit
67830f4111
|
@ -91,7 +91,7 @@ public class WebSessionServerSecurityContextRepository implements ServerSecurity
|
||||||
: LogMessage.format("No SecurityContext found in WebSession: '%s'", session));
|
: LogMessage.format("No SecurityContext found in WebSession: '%s'", session));
|
||||||
return Mono.justOrEmpty(context);
|
return Mono.justOrEmpty(context);
|
||||||
});
|
});
|
||||||
return (cacheSecurityContext) ? result.cache() : result;
|
return (this.cacheSecurityContext) ? result.cache() : result;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue