Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
sasl::TSasl Class Referenceabstract

#include <TSasl.h>

Inheritance diagram for sasl::TSasl:
Collaboration diagram for sasl::TSasl:

Public Member Functions

 ~TSasl ()
 
virtual uint8_t * evaluateChallengeOrResponse (const uint8_t *challenge, uint32_t len, uint32_t *resLen)=0
 
bool isComplete ()
 
uint8_t * unwrap (const uint8_t *incoming, const int offset, const uint32_t len, uint32_t *outLen)
 
uint8_t * wrap (const uint8_t *outgoing, int offset, const uint32_t len, uint32_t *outLen)
 
virtual std::string getMechanismName ()
 
virtual bool hasInitialResponse ()
 
std::string getUsername ()
 

Static Public Member Functions

static void SaslDone ()
 

Protected Attributes

bool authComplete
 
sasl_conn_t * conn
 

Detailed Description

These classes implement the Simple Authentication and Security Layer (SASL) authentication mechanisms. see: http://www.ietf.org/rfc/rfc2222.txt. They are mostly wrappers for the cyrus-sasl library routines.

Definition at line 55 of file TSasl.h.

Constructor & Destructor Documentation

sasl::TSasl::~TSasl ( )
inline

Definition at line 57 of file TSasl.h.

Member Function Documentation

virtual uint8_t* sasl::TSasl::evaluateChallengeOrResponse ( const uint8_t *  challenge,
uint32_t  len,
uint32_t *  resLen 
)
pure virtual

Implemented in sasl::TSaslServer, and sasl::TSaslClient.

virtual std::string sasl::TSasl::getMechanismName ( )
inlinevirtual

Reimplemented in sasl::TSaslClient.

Definition at line 100 of file TSasl.h.

std::string sasl::TSasl::getUsername ( )
virtual bool sasl::TSasl::hasInitialResponse ( )
inlinevirtual

Reimplemented in sasl::TSaslClient.

Definition at line 103 of file TSasl.h.

bool sasl::TSasl::isComplete ( )
inline

Definition at line 77 of file TSasl.h.

static void sasl::TSasl::SaslDone ( )
inlinestatic

Definition at line 68 of file TSasl.h.

uint8_t* sasl::TSasl::unwrap ( const uint8_t *  incoming,
const int  offset,
const uint32_t  len,
uint32_t *  outLen 
)
uint8_t* sasl::TSasl::wrap ( const uint8_t *  outgoing,
int  offset,
const uint32_t  len,
uint32_t *  outLen 
)

Member Data Documentation

bool sasl::TSasl::authComplete
protected

Definition at line 110 of file TSasl.h.

sasl_conn_t* sasl::TSasl::conn
protected

Definition at line 112 of file TSasl.h.


The documentation for this class was generated from the following file: