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 d5d6e12 commit 70f57d9Copy full SHA for 70f57d9
src/main/antora/modules/ROOT/pages/auditing.adoc
@@ -109,6 +109,7 @@ class SpringSecurityAuditorAware implements ReactiveAuditorAware<User> {
109
public Mono<User> getCurrentAuditor() {
110
111
return ReactiveSecurityContextHolder.getContext()
112
+ .filter(it -> it.getAuthentication() != null)
113
.map(SecurityContext::getAuthentication)
114
.filter(Authentication::isAuthenticated)
115
.map(Authentication::getPrincipal)
0 commit comments