Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::NoAuthProvider Class Reference

#include <auth-provider.h>

Inheritance diagram for impala::NoAuthProvider:
Collaboration diagram for impala::NoAuthProvider:

Public Member Functions

 NoAuthProvider ()
 
virtual Status Start ()
 Initialises any state required to perform authentication using this provider. More...
 
virtual Status GetServerTransportFactory (boost::shared_ptr< apache::thrift::transport::TTransportFactory > *factory)
 
virtual Status WrapClientTransport (const std::string &hostname, boost::shared_ptr< apache::thrift::transport::TTransport > raw_transport, const std::string &service_name, boost::shared_ptr< apache::thrift::transport::TTransport > *wrapped_transport)
 
virtual bool is_sasl ()
 Returns true if this provider uses Sasl at the transport layer. More...
 

Detailed Description

This provider implements no authentication, so any connection is immediately successful. There's no Sasl in the picture.

Definition at line 157 of file auth-provider.h.

Constructor & Destructor Documentation

impala::NoAuthProvider::NoAuthProvider ( )
inline

Definition at line 159 of file auth-provider.h.

Member Function Documentation

Status impala::NoAuthProvider::GetServerTransportFactory ( boost::shared_ptr< apache::thrift::transport::TTransportFactory > *  factory)
virtual

Creates a new Thrift transport factory in the out parameter that performs authorisation per this provider's protocol.

Implements impala::AuthProvider.

Definition at line 882 of file authentication.cc.

References impala::OK.

virtual bool impala::NoAuthProvider::is_sasl ( )
inlinevirtual

Returns true if this provider uses Sasl at the transport layer.

Implements impala::AuthProvider.

Definition at line 171 of file auth-provider.h.

virtual Status impala::NoAuthProvider::Start ( )
inlinevirtual

Initialises any state required to perform authentication using this provider.

Implements impala::AuthProvider.

Definition at line 161 of file auth-provider.h.

References impala::Status::OK.

Status impala::NoAuthProvider::WrapClientTransport ( const std::string &  hostname,
boost::shared_ptr< apache::thrift::transport::TTransport >  raw_transport,
const std::string &  service_name,
boost::shared_ptr< apache::thrift::transport::TTransport > *  wrapped_transport 
)
virtual

Called by Thrift clients to wrap a raw transport with any intermediate transport that an auth protocol requires.

Implements impala::AuthProvider.

Definition at line 888 of file authentication.cc.

References impala::OK.


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