mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 00:17:20 +02: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:
parent
0154cf09bb
commit
fea495e319
1 changed files with 2 additions and 2 deletions
|
@ -112,8 +112,8 @@ public class TlsCredentials implements TransportCredentials {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
logger.infofmt(
|
logger.infofmt(
|
||||||
"Authentication error: IP address %s is not whitelisted for registrar %s.",
|
"Authentication error: IP address %s is not whitelisted for registrar %s; whitelist is: %s",
|
||||||
clientInetAddr, registrar.getClientId());
|
clientInetAddr, registrar.getClientId(), ipWhitelist);
|
||||||
throw new BadRegistrarIpAddressException();
|
throw new BadRegistrarIpAddressException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue