Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.7 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) Microsoft Corp. All rights reserved.
  4. //
  5. // FILE
  6. //
  7. // pgauthen.h
  8. //
  9. // SYNOPSIS
  10. //
  11. // Definition of CPgAuthentication -- property page to edit
  12. // profile attributes related to Authenticaion
  13. //
  14. //////////////////////////////////////////////////////////////////////////////
  15. #if !defined(AFX_PGAUTHEN_H__8C28D93F_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)
  16. #define AFX_PGAUTHEN_H__8C28D93F_2A69_11D1_853E_00C04FC31FD3__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. #include "rasdial.h"
  21. #include "eapconfig.h"
  22. // #include "eapnegotiate.h"
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CPgAuthenticationMerge dialog
  25. class CPgAuthenticationMerge : public CManagedPage
  26. {
  27. // Construction
  28. public:
  29. CPgAuthenticationMerge(CRASProfileMerge& profile);
  30. ~CPgAuthenticationMerge();
  31. // Dialog Data
  32. //{{AFX_DATA(CPgAuthenticationMerge)
  33. enum { IDD = IDD_AUTHENTICATION_MERGE };
  34. BOOL m_bMD5Chap;
  35. BOOL m_bMSChap;
  36. BOOL m_bPAP;
  37. BOOL m_bMSCHAP2;
  38. BOOL m_bUNAUTH;
  39. BOOL m_bMSChapPass;
  40. BOOL m_bMSChap2Pass;
  41. //}}AFX_DATA
  42. BOOL m_bEAP;
  43. // original values before edit
  44. BOOL m_bOrgEAP;
  45. BOOL m_bOrgMD5Chap;
  46. BOOL m_bOrgMSChap;
  47. BOOL m_bOrgPAP;
  48. BOOL m_bOrgMSCHAP2;
  49. BOOL m_bOrgUNAUTH;
  50. BOOL m_bOrgChapPass;
  51. BOOL m_bOrgChap2Pass;
  52. BOOL m_bAppliedEver;
  53. // Overrides
  54. // ClassWizard generate virtual function overrides
  55. //{{AFX_VIRTUAL(CPgAuthenticationMerge)
  56. public:
  57. virtual BOOL OnApply();
  58. virtual void OnOK();
  59. virtual BOOL OnKillActive();
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. //}}AFX_VIRTUAL
  63. // Implementation
  64. protected:
  65. BOOL TransferDataToProfile();
  66. // Generated message map functions
  67. //{{AFX_MSG(CPgAuthenticationMerge)
  68. virtual BOOL OnInitDialog();
  69. afx_msg void OnCheckmd5chap();
  70. afx_msg void OnCheckmschap();
  71. afx_msg void OnCheckpap();
  72. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  73. afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  74. afx_msg void OnAuthConfigEapMethods();
  75. afx_msg void OnCheckmschap2();
  76. afx_msg void OnChecknoauthen();
  77. afx_msg void OnCheckmschapPass();
  78. afx_msg void OnCheckmschap2Pass();
  79. //}}AFX_MSG
  80. DECLARE_MESSAGE_MAP()
  81. CRASProfileMerge& m_Profile;
  82. EapConfig m_eapConfig;
  83. bool m_fromProfile;
  84. };
  85. //{{AFX_INSERT_LOCATION}}
  86. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  87. #endif // !defined(AFX_PGAUTHEN_H__8C28D93F_2A69_11D1_853E_00C04FC31FD3__INCLUDED_)