Main Page | Class List | File List | Class Members | File Members

CConfigLDAP Class Reference

#include <ConfigLDAP.h>

List of all members.

Public Types

enum  { IDD = IDD_LDAP_TAB }

Public Member Functions

 CConfigLDAP (CWnd *pParent=NULL)
virtual ~CConfigLDAP ()
void loadListsFromReg (void)
void saveListsToReg (void)
void swapItem (CListBox *, int, int)
afx_msg BOOL OnInitDialog ()
afx_msg void OnOK ()
afx_msg void OnSave ()
afx_msg void OnAddContext ()
afx_msg void OnRemoveContext ()
afx_msg void OnMoveContextUp ()
afx_msg void OnMoveContextDown ()
afx_msg void OnChangeSearch ()
afx_msg void OnChangeMultimap ()
afx_msg void OnChangeMapMode ()
afx_msg void OnEnChangeLdapfilter ()
afx_msg void OnEnChangeTimeout ()

Public Attributes

CString m_server
CString m_ldapPrePend
CString m_ldapAppend
CString m_ldapAdminUsername
CString m_ldapAdminPassword
BOOL m_useSSL
CString m_port
CString m_ldapFilter
CString m_ldapGroupAttr
BOOL m_searchMode
BOOL m_multiMap
BOOL m_mapMode
CListBox m_ContextList
CString m_newContext
CString m_timeout
bool hasLoaded
CEdit c_ldapAppend
CButton c_usessl
CEdit c_newcontext
CButton c_addcontext
CButton c_delcontext
CButton c_upcontext
CButton c_downcontext

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)

Protected Attributes

CEdit c_ldapPrePend


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file ConfigLDAP.h.


Constructor & Destructor Documentation

CConfigLDAP::CConfigLDAP CWnd *  pParent = NULL  ) 
 

Definition at line 42 of file ConfigLDAP.cpp.

References hasLoaded, m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_port, m_searchMode, m_server, m_timeout, m_useSSL, regReadDword(), and regReadString().

CConfigLDAP::~CConfigLDAP  )  [virtual]
 

Definition at line 140 of file ConfigLDAP.cpp.


Member Function Documentation

void CConfigLDAP::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Definition at line 145 of file ConfigLDAP.cpp.

References c_addcontext, c_delcontext, c_downcontext, c_ldapAppend, c_ldapPrePend, c_newcontext, c_upcontext, c_usessl, hasLoaded, IDC_ADDCONTEXTBUTTON, IDC_ADMINPASSWORD, IDC_ADMINUSERNAME, IDC_CONTEXTLIST, IDC_DELCONTEXTBUTTON, IDC_LDAPAPPEND, IDC_LDAPFILTER, IDC_LDAPGROUPATTR, IDC_LDAPPREPEND, IDC_LDAPSERVER, IDC_MAP, IDC_MOVECTXDWN, IDC_MOVECTXUP, IDC_MULTIMAP, IDC_NEWCONTEXT, IDC_PORT, IDC_SEARCH, IDC_TIMEOUT, IDC_USESSL, loadListsFromReg(), m_ContextList, m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_newContext, m_port, m_searchMode, m_server, m_timeout, and m_useSSL.

void CConfigLDAP::loadListsFromReg void   ) 
 

Definition at line 391 of file ConfigLDAP.cpp.

References m_ContextList, and regReadString().

Referenced by DoDataExchange().

void CConfigLDAP::OnAddContext  ) 
 

Definition at line 200 of file ConfigLDAP.cpp.

References m_ContextList, and m_newContext.

void CConfigLDAP::OnChangeMapMode  ) 
 

Definition at line 296 of file ConfigLDAP.cpp.

References c_addcontext, c_delcontext, c_downcontext, c_ldapAppend, c_ldapPrePend, c_newcontext, c_upcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigLDAP::OnChangeMultimap  ) 
 

Definition at line 270 of file ConfigLDAP.cpp.

References c_addcontext, c_delcontext, c_downcontext, c_ldapAppend, c_ldapPrePend, c_newcontext, c_upcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigLDAP::OnChangeSearch  ) 
 

Definition at line 242 of file ConfigLDAP.cpp.

References c_addcontext, c_delcontext, c_downcontext, c_ldapAppend, c_ldapPrePend, c_newcontext, c_upcontext, m_ContextList, m_mapMode, m_multiMap, and m_searchMode.

void CConfigLDAP::OnEnChangeLdapfilter  ) 
 

Definition at line 450 of file ConfigLDAP.cpp.

afx_msg void CConfigLDAP::OnEnChangeTimeout  ) 
 

BOOL CConfigLDAP::OnInitDialog  ) 
 

Definition at line 90 of file ConfigLDAP.cpp.

References c_addcontext, c_delcontext, c_downcontext, c_ldapAppend, c_ldapPrePend, c_newcontext, c_upcontext, m_ContextList, m_mapMode, m_multiMap, m_searchMode, and regReadString().

void CConfigLDAP::OnMoveContextDown  ) 
 

Definition at line 231 of file ConfigLDAP.cpp.

References m_ContextList, and swapItem().

void CConfigLDAP::OnMoveContextUp  ) 
 

Definition at line 220 of file ConfigLDAP.cpp.

References m_ContextList, and swapItem().

void CConfigLDAP::OnOK  ) 
 

Definition at line 195 of file ConfigLDAP.cpp.

void CConfigLDAP::OnRemoveContext  ) 
 

Definition at line 213 of file ConfigLDAP.cpp.

References m_ContextList.

void CConfigLDAP::OnSave  ) 
 

Definition at line 322 of file ConfigLDAP.cpp.

References m_ldapAdminPassword, m_ldapAdminUsername, m_ldapAppend, m_ldapFilter, m_ldapGroupAttr, m_ldapPrePend, m_mapMode, m_multiMap, m_port, m_searchMode, m_server, m_timeout, m_useSSL, regDelValue(), regWriteDword(), regWriteString(), and saveListsToReg().

void CConfigLDAP::saveListsToReg void   ) 
 

Definition at line 410 of file ConfigLDAP.cpp.

References m_ContextList, regDelValue(), regReadString(), and regWriteString().

Referenced by OnSave().

void CConfigLDAP::swapItem CListBox *  ,
int  ,
int 
 

Definition at line 438 of file ConfigLDAP.cpp.

Referenced by OnMoveContextDown(), and OnMoveContextUp().


Member Data Documentation

CButton CConfigLDAP::c_addcontext
 

Definition at line 86 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CButton CConfigLDAP::c_delcontext
 

Definition at line 87 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CButton CConfigLDAP::c_downcontext
 

Definition at line 89 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CEdit CConfigLDAP::c_ldapAppend
 

Definition at line 83 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CEdit CConfigLDAP::c_ldapPrePend [protected]
 

Definition at line 81 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CEdit CConfigLDAP::c_newcontext
 

Definition at line 85 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CButton CConfigLDAP::c_upcontext
 

Definition at line 88 of file ConfigLDAP.h.

Referenced by DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), and OnInitDialog().

CButton CConfigLDAP::c_usessl
 

Definition at line 84 of file ConfigLDAP.h.

Referenced by DoDataExchange().

bool CConfigLDAP::hasLoaded
 

Definition at line 66 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), and DoDataExchange().

CListBox CConfigLDAP::m_ContextList
 

Definition at line 63 of file ConfigLDAP.h.

Referenced by DoDataExchange(), loadListsFromReg(), OnAddContext(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), OnInitDialog(), OnMoveContextDown(), OnMoveContextUp(), OnRemoveContext(), and saveListsToReg().

CString CConfigLDAP::m_ldapAdminPassword
 

Definition at line 55 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_ldapAdminUsername
 

Definition at line 54 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_ldapAppend
 

Definition at line 53 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_ldapFilter
 

Definition at line 58 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_ldapGroupAttr
 

Definition at line 59 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_ldapPrePend
 

Definition at line 52 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

BOOL CConfigLDAP::m_mapMode
 

Definition at line 62 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), OnInitDialog(), and OnSave().

BOOL CConfigLDAP::m_multiMap
 

Definition at line 61 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), OnInitDialog(), and OnSave().

CString CConfigLDAP::m_newContext
 

Definition at line 64 of file ConfigLDAP.h.

Referenced by DoDataExchange(), and OnAddContext().

CString CConfigLDAP::m_port
 

Definition at line 57 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

BOOL CConfigLDAP::m_searchMode
 

Definition at line 60 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), OnChangeMapMode(), OnChangeMultimap(), OnChangeSearch(), OnInitDialog(), and OnSave().

CString CConfigLDAP::m_server
 

Definition at line 51 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

CString CConfigLDAP::m_timeout
 

Definition at line 65 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().

BOOL CConfigLDAP::m_useSSL
 

Definition at line 56 of file ConfigLDAP.h.

Referenced by CConfigLDAP(), DoDataExchange(), and OnSave().


The documentation for this class was generated from the following files:
Generated on Fri Feb 20 12:03:49 2004 for ldapauth plugin for pGina by doxygen 1.3.5