mirror of https://github.com/grpc/grpc-java.git
xds: Log about fallback credentials, not supplier
The sslContextProviderSupplier is used by the xds creds themselves when the control plane has security configured. But the fallback credentials don't use such a supplier and may not even be using TLS. Language tweak following #8554.
This commit is contained in:
parent
0245a72926
commit
60475de204
|
|
@ -288,8 +288,7 @@ public final class SdsProtocolNegotiators {
|
||||||
ctx.fireExceptionCaught(new CertStoreException("No certificate source found!"));
|
ctx.fireExceptionCaught(new CertStoreException("No certificate source found!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
logger.log(Level.FINE, "Using fallback sslContextProviderSupplier for connection "
|
logger.log(Level.FINE, "Using fallback credentials for connection from {0} to {1}",
|
||||||
+ "from {0} to {1}",
|
|
||||||
new Object[]{ctx.channel().remoteAddress(), ctx.channel().localAddress()});
|
new Object[]{ctx.channel().remoteAddress(), ctx.channel().localAddress()});
|
||||||
ctx.pipeline()
|
ctx.pipeline()
|
||||||
.replace(
|
.replace(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue