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 404f387 commit ccc2975Copy full SHA for ccc2975
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