00001 /* 00002 pGina ldapAuth code - based upon skeleton code for pGina plugin development 00003 Copyright (C) 2002 Micah Cooper 00004 00005 This program is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU General Public License 00007 as published by the Free Software Foundation; either version 2 00008 of the License, or (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 00019 Email: coopermj@muohio.edu 00020 Snail Mail: 00021 Micah Cooper 00022 212A Kreger Hall 00023 Miami University 00024 Oxford OH 45056 00025 */ 00026 #pragma once 00027 00028 #include "Resource.h" 00029 00030 // CConfigPwd dialog 00031 00032 class CConfigPwd : public CDialog 00033 { 00034 DECLARE_DYNAMIC(CConfigPwd) 00035 00036 public: 00037 CConfigPwd(CWnd* pParent = NULL); // standard constructor 00038 virtual ~CConfigPwd(); 00039 00040 // Dialog Data 00041 enum { IDD = IDD_PWD_TAB }; 00042 00043 protected: 00044 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00045 00046 DECLARE_MESSAGE_MAP() 00047 public: 00048 BOOL m_requireLower; 00049 BOOL m_requireUpper; 00050 BOOL m_requireNumeric; 00051 BOOL m_requireSpecial; 00052 CString m_pwdMinLength; 00053 BOOL m_disablePwd; 00054 CString m_restrictChars; 00055 00056 afx_msg BOOL OnInitDialog(); 00057 afx_msg void OnOK(); 00058 afx_msg void OnDisableChangePwd(); 00059 afx_msg void OnSave(); 00060 00061 CButton c_disablePwd; 00062 CStatic c_minLengthText; 00063 CEdit c_pwdLenValue; 00064 CSpinButtonCtrl c_minSpin; 00065 CButton c_restrictChars; 00066 CStatic c_restrictText; 00067 CStatic c_requiredText; 00068 CButton c_lowerCase; 00069 CButton c_upperCase; 00070 CButton c_numeric; 00071 CButton c_special; 00072 };