mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Remove Logging of Untrusted Data
This commit is contained in:
parent
3307c656f4
commit
fed3de8dce
@ -227,8 +227,7 @@ public final class JwtIssuerAuthenticationManagerResolver implements Authenticat
|
||||
return authenticationManager;
|
||||
}
|
||||
else {
|
||||
this.logger.debug(LogMessage
|
||||
.format("Did not resolve AuthenticationManager since issuer is not trusted", issuer));
|
||||
this.logger.debug("Did not resolve AuthenticationManager since issuer is not trusted");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -221,8 +221,7 @@ public final class JwtIssuerReactiveAuthenticationManagerResolver
|
||||
@Override
|
||||
public Mono<ReactiveAuthenticationManager> resolve(String issuer) {
|
||||
if (!this.trustedIssuer.test(issuer)) {
|
||||
this.logger.debug(LogMessage
|
||||
.format("Did not resolve AuthenticationManager since issuer is not trusted", issuer));
|
||||
this.logger.debug("Did not resolve AuthenticationManager since issuer is not trusted");
|
||||
return Mono.empty();
|
||||
}
|
||||
// @formatter:off
|
||||
|
Loading…
x
Reference in New Issue
Block a user