Public Member Functions | Private Member Functions | Private Attributes | List of all members
visionary::AuthenticationSecure Class Reference

#include <AuthenticationSecure.h>

Inheritance diagram for visionary::AuthenticationSecure:
Inheritance graph
[legend]

Public Member Functions

 AuthenticationSecure (VisionaryControl &vctrl)
 
bool login (UserLevel userLevel, const std::string &password) override
 
bool logout () override
 
 ~AuthenticationSecure () override
 
- Public Member Functions inherited from visionary::IAuthentication
virtual ~IAuthentication ()=default
 

Private Member Functions

ChallengeResponse CreateChallengeResponse (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest, ProtocolType protocolType)
 
PasswordHash CreatePasswordHash (UserLevel userLevel, const std::string &password, const ChallengeRequest &challengeRequest, ProtocolType protocolType)
 
bool loginImpl (UserLevel userLevel, const std::string &password, const CoLaParameterReader &getChallengeResponse, ProtocolType protocolType)
 

Private Attributes

ProtocolType m_protocolType
 
VisionaryControlm_VisionaryControl
 

Additional Inherited Members

- Public Types inherited from visionary::IAuthentication
enum  UserLevel : int8_t {
  UserLevel::RUN = 0, UserLevel::OPERATOR = 1, UserLevel::MAINTENANCE = 2, UserLevel::AUTHORIZED_CLIENT = 3,
  UserLevel::SERVICE = 4
}
 Available CoLa user levels. More...
 

Detailed Description

Definition at line 28 of file AuthenticationSecure.h.

Constructor & Destructor Documentation

◆ AuthenticationSecure()

visionary::AuthenticationSecure::AuthenticationSecure ( VisionaryControl vctrl)
explicit

Definition at line 24 of file AuthenticationSecure.cpp.

◆ ~AuthenticationSecure()

visionary::AuthenticationSecure::~AuthenticationSecure ( )
overridedefault

Member Function Documentation

◆ CreateChallengeResponse()

ChallengeResponse visionary::AuthenticationSecure::CreateChallengeResponse ( UserLevel  userLevel,
const std::string &  password,
const ChallengeRequest challengeRequest,
ProtocolType  protocolType 
)
private

Definition at line 93 of file AuthenticationSecure.cpp.

◆ CreatePasswordHash()

PasswordHash visionary::AuthenticationSecure::CreatePasswordHash ( UserLevel  userLevel,
const std::string &  password,
const ChallengeRequest challengeRequest,
ProtocolType  protocolType 
)
private

Definition at line 31 of file AuthenticationSecure.cpp.

◆ login()

bool visionary::AuthenticationSecure::login ( UserLevel  userLevel,
const std::string &  password 
)
overridevirtual

Implements visionary::IAuthentication.

Definition at line 160 of file AuthenticationSecure.cpp.

◆ loginImpl()

bool visionary::AuthenticationSecure::loginImpl ( UserLevel  userLevel,
const std::string &  password,
const CoLaParameterReader getChallengeResponse,
ProtocolType  protocolType 
)
private

Definition at line 111 of file AuthenticationSecure.cpp.

◆ logout()

bool visionary::AuthenticationSecure::logout ( )
overridevirtual

Implements visionary::IAuthentication.

Definition at line 199 of file AuthenticationSecure.cpp.

Member Data Documentation

◆ m_protocolType

ProtocolType visionary::AuthenticationSecure::m_protocolType
private

Definition at line 39 of file AuthenticationSecure.h.

◆ m_VisionaryControl

VisionaryControl& visionary::AuthenticationSecure::m_VisionaryControl
private

Definition at line 38 of file AuthenticationSecure.h.


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


sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 04:38:18