Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CUnixUserCheck Class Reference

#include <UnixUserCheck.h>

Inheritance diagram for CUnixUserCheck:

CAuthenticator List of all members.

Public Methods

 CUnixUserCheck ()
 ~CUnixUserCheck ()
 CUnixUserCheck (const string &am_sUserPrompt, const string &am_sPasswordPrompt, Bool_t am_fPromptUser, Bool_t am_fPromptPassword)
 CUnixUserCheck (const CUnixUserCheck &aCUnixUserCheck)
CUnixUserCheck & operator= (const CUnixUserCheck &aCUnixUserCheck)
string getUserPrompt () const
string getPasswordPrompt () const
Bool_t getPromptUser () const
Bool_t getPromptPassword () const
virtual Bool_t Authenticate (CInteractor &rInteractor)
void SetPrompting (Bool_t fUserPrompt=kfTRUE, Bool_t fPasswordPrompt=kfTRUE)
void SetUserPrompt (const string &rNewPrompt=string("Password:"))
void SetPasswordPrompt (const string &rNewPrompt=string("Password:"))

Protected Methods

void setUserPrompt (const string &am_sUserPrompt)
void setPasswordPrompt (const string &am_sPasswordPrompt)
void setPromptUser (Bool_t am_fPromptUser)
void setPromptPassword (Bool_t am_fPromptPassword)
void PutPrompt (CInteractor &rInteractor, const string &rPrompt)
Bool_t Validate (const string &sUser, const string &sPassword)

Private Methods

int operator== (const CUnixUserCheck &aCUnixUserCheck) const

Private Attributes

string m_sUserPrompt
string m_sPasswordPrompt
Bool_t m_fPromptUser
Bool_t m_fPromptPassword

Constructor & Destructor Documentation

CUnixUserCheck::CUnixUserCheck   [inline]
 

Definition at line 321 of file UnixUserCheck.h.

References m_fPromptPassword, m_fPromptUser, m_sPasswordPrompt, and m_sUserPrompt.

CUnixUserCheck::~CUnixUserCheck   [inline]
 

Definition at line 330 of file UnixUserCheck.h.

CUnixUserCheck::CUnixUserCheck const string &    am_sUserPrompt,
const string &    am_sPasswordPrompt,
Bool_t    am_fPromptUser,
Bool_t    am_fPromptPassword
[inline]
 

Definition at line 332 of file UnixUserCheck.h.

References m_fPromptPassword, m_fPromptUser, m_sPasswordPrompt, and m_sUserPrompt.

CUnixUserCheck::CUnixUserCheck const CUnixUserCheck &    aCUnixUserCheck [inline]
 

Definition at line 346 of file UnixUserCheck.h.

References m_fPromptPassword, m_fPromptUser, m_sPasswordPrompt, and m_sUserPrompt.


Member Function Documentation

Bool_t CUnixUserCheck::Authenticate CInteractor   rInteractor [virtual]
 

Implements CAuthenticator.

Definition at line 316 of file UnixUserCheck.cpp.

References CAuthenticator::GetLine(), m_sPasswordPrompt, m_sUserPrompt, PutPrompt(), and Validate().

string CUnixUserCheck::getPasswordPrompt   const [inline]
 

Definition at line 382 of file UnixUserCheck.h.

References m_sPasswordPrompt.

Bool_t CUnixUserCheck::getPromptPassword   const [inline]
 

Definition at line 388 of file UnixUserCheck.h.

References m_fPromptPassword.

Bool_t CUnixUserCheck::getPromptUser   const [inline]
 

Definition at line 385 of file UnixUserCheck.h.

References m_fPromptUser.

string CUnixUserCheck::getUserPrompt   const [inline]
 

Definition at line 379 of file UnixUserCheck.h.

References m_sUserPrompt.

CUnixUserCheck& CUnixUserCheck::operator= const CUnixUserCheck &    aCUnixUserCheck [inline]
 

Definition at line 359 of file UnixUserCheck.h.

References m_fPromptPassword, m_fPromptUser, m_sPasswordPrompt, m_sUserPrompt, and CAuthenticator::operator=().

int CUnixUserCheck::operator== const CUnixUserCheck &    aCUnixUserCheck const [private]
 

void CUnixUserCheck::PutPrompt CInteractor   rInteractor,
const string &    rPrompt
[protected]
 

Definition at line 380 of file UnixUserCheck.cpp.

References CInteractor::Write().

Referenced by Authenticate().

void CUnixUserCheck::SetPasswordPrompt const string &    rNewPrompt = string("Password:")
 

Definition at line 367 of file UnixUserCheck.cpp.

References m_sPasswordPrompt.

void CUnixUserCheck::setPasswordPrompt const string &    am_sPasswordPrompt [inline, protected]
 

Definition at line 399 of file UnixUserCheck.h.

References m_sPasswordPrompt.

void CUnixUserCheck::SetPrompting Bool_t    fUserPrompt = kfTRUE,
Bool_t    fPasswordPrompt = kfTRUE
 

Definition at line 340 of file UnixUserCheck.cpp.

References m_fPromptPassword, and m_fPromptUser.

void CUnixUserCheck::setPromptPassword Bool_t    am_fPromptPassword [inline, protected]
 

Definition at line 405 of file UnixUserCheck.h.

References m_fPromptPassword.

void CUnixUserCheck::setPromptUser Bool_t    am_fPromptUser [inline, protected]
 

Definition at line 402 of file UnixUserCheck.h.

References m_fPromptUser.

void CUnixUserCheck::SetUserPrompt const string &    rNewPrompt = string("Password:")
 

Definition at line 355 of file UnixUserCheck.cpp.

References m_sUserPrompt.

void CUnixUserCheck::setUserPrompt const string &    am_sUserPrompt [inline, protected]
 

Definition at line 396 of file UnixUserCheck.h.

References m_sUserPrompt.

Bool_t CUnixUserCheck::Validate const string &    sUser,
const string &    sPassword
[protected]
 

Definition at line 393 of file UnixUserCheck.cpp.

Referenced by Authenticate().


Member Data Documentation

Bool_t CUnixUserCheck::m_fPromptPassword [private]
 

Definition at line 313 of file UnixUserCheck.h.

Referenced by CUnixUserCheck(), getPromptPassword(), operator=(), SetPrompting(), and setPromptPassword().

Bool_t CUnixUserCheck::m_fPromptUser [private]
 

Definition at line 312 of file UnixUserCheck.h.

Referenced by CUnixUserCheck(), getPromptUser(), operator=(), SetPrompting(), and setPromptUser().

string CUnixUserCheck::m_sPasswordPrompt [private]
 

Definition at line 311 of file UnixUserCheck.h.

Referenced by Authenticate(), CUnixUserCheck(), getPasswordPrompt(), operator=(), setPasswordPrompt(), and SetPasswordPrompt().

string CUnixUserCheck::m_sUserPrompt [private]
 

Definition at line 310 of file UnixUserCheck.h.

Referenced by Authenticate(), CUnixUserCheck(), getUserPrompt(), operator=(), setUserPrompt(), and SetUserPrompt().


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 13:37:28 2002 for Event Readout system. by doxygen1.2.16