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 0a26946 commit 3c91071Copy full SHA for 3c91071
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