MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / SecureRpcHelper

Method SecureRpcHelper

src/SecureRpcHelper.java:110–117  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

getConfigMethod · 0.80

Tested by

no test coverage detected