Ctor that instantiates the authentication provider and attempts to authenticate at the same time. @param hbase_client The Hbase client we belong to @param region_client The region client we're dealing with @param remote_endpoint The remote endpoint of the HBase Region server.
(final HBaseClient hbase_client,
final RegionClient region_client, final SocketAddress remote_endpoint)
| 108 | * @param remote_endpoint The remote endpoint of the HBase Region server. |
| 109 | */ |
| 110 | public SecureRpcHelper(final HBaseClient hbase_client, |
| 111 | final RegionClient region_client, final SocketAddress remote_endpoint) { |
| 112 | config = hbase_client.getConfig(); |
| 113 | this.host_ip = ((InetSocketAddress)remote_endpoint).getAddress() |
| 114 | .getHostAddress(); |
| 115 | this.region_client = region_client; |
| 116 | initSecureClientProvider(hbase_client); |
| 117 | } |
| 118 | |
| 119 | /** |
| 120 | * Instantiates the proper security provider based on the configuration. The |
nothing calls this directly
no test coverage detected