Hazelcast C++ Client
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
hazelcast::client::Credentials Class Referenceabstract

Credentials is a container object for endpoint (Members and Clients) security attributes. More...

#include <Credentials.h>

+ Inheritance diagram for hazelcast::client::Credentials:

Public Member Functions

virtual const std::string & getEndpoint () const =0
 Returns IP address of endpoint. More...
 
virtual void setEndpoint (const std::string &endpoint)=0
 Sets IP address of endpoint. More...
 
virtual const std::string & getPrincipal () const =0
 Returns principal of endpoint. More...
 
virtual ~Credentials ()
 Destructor.
 
- Public Member Functions inherited from hazelcast::client::serialization::Portable
virtual ~Portable ()
 Destructor.
 
virtual int getFactoryId () const =0
 
virtual int getClassId () const =0
 
virtual void writePortable (PortableWriter &writer) const =0
 Defines how this class will be written. More...
 
virtual void readPortable (PortableReader &reader)=0
 Defines how this class will be read. More...
 

Detailed Description

Credentials is a container object for endpoint (Members and Clients) security attributes.

It is used on authentication process by LoginModule.

Member Function Documentation

virtual const std::string& hazelcast::client::Credentials::getEndpoint ( ) const
pure virtual

Returns IP address of endpoint.

Returns
endpoint address
virtual const std::string& hazelcast::client::Credentials::getPrincipal ( ) const
pure virtual

Returns principal of endpoint.

Returns
endpoint principal
virtual void hazelcast::client::Credentials::setEndpoint ( const std::string &  endpoint)
pure virtual

Sets IP address of endpoint.

Parameters
endpointaddress

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