mirror of
https://github.com/google/nomulus
synced 2026-01-09 15:43:52 +00:00
Log registrar IP address whitelist when auth is denied
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=190462466
This commit is contained in:
@@ -112,8 +112,8 @@ public class TlsCredentials implements TransportCredentials {
|
||||
}
|
||||
}
|
||||
logger.infofmt(
|
||||
"Authentication error: IP address %s is not whitelisted for registrar %s.",
|
||||
clientInetAddr, registrar.getClientId());
|
||||
"Authentication error: IP address %s is not whitelisted for registrar %s; whitelist is: %s",
|
||||
clientInetAddr, registrar.getClientId(), ipWhitelist);
|
||||
throw new BadRegistrarIpAddressException();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user