me.prettyprint.cassandra.connection.client
Class HKerberosThriftClient

java.lang.Object
  extended by me.prettyprint.cassandra.connection.client.HThriftClient
      extended by me.prettyprint.cassandra.connection.client.HKerberosThriftClient
All Implemented Interfaces:
HClient

public class HKerberosThriftClient
extends HThriftClient
implements HClient

Hector client that authenticate against kerberos.

Author:
patricioe (Patricio Echague - patricioe@gmail.com)

Field Summary
 
Fields inherited from class me.prettyprint.cassandra.connection.client.HThriftClient
cassandraClient, keyspaceName, timeout, transport
 
Constructor Summary
HKerberosThriftClient(Subject kerberosTicket, CassandraHost cassandraHost, String servicePrincipalName)
          Constructor
 
Method Summary
 HKerberosThriftClient open()
          Open a connection for this client.
 
Methods inherited from class me.prettyprint.cassandra.connection.client.HThriftClient
clearAuthentication, close, equals, getCassandra, getCassandra, getCassandraHost, getSinceLastUsed, isAlreadyAuthenticated, isOpen, setAuthenticated, startToUse, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface me.prettyprint.cassandra.connection.client.HClient
clearAuthentication, close, getCassandra, getCassandra, getCassandraHost, getSinceLastUsed, isAlreadyAuthenticated, isOpen, setAuthenticated, startToUse
 

Constructor Detail

HKerberosThriftClient

public HKerberosThriftClient(Subject kerberosTicket,
                             CassandraHost cassandraHost,
                             String servicePrincipalName)
Constructor

Parameters:
kerberosTicket -
cassandraHost -
Method Detail

open

public HKerberosThriftClient open()
Open a connection for this client.

Specified by:
open in interface HClient
Overrides:
open in class HThriftClient
Returns:
this object


Copyright © 2012. All Rights Reserved.