We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Authentication
null
1 parent 21809f7 commit 5a40833Copy full SHA for 5a40833
src/main/antora/modules/ROOT/pages/auditing.adoc
@@ -104,6 +104,7 @@ class SpringSecurityAuditorAware implements ReactiveAuditorAware<User> {
104
public Mono<User> getCurrentAuditor() {
105
106
return ReactiveSecurityContextHolder.getContext()
107
+ .filter(it -> it.getAuthentication() != null)
108
.map(SecurityContext::getAuthentication)
109
.filter(Authentication::isAuthenticated)
110
.map(Authentication::getPrincipal)
0 commit comments