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…
Reference in New Issue