2 // System.Web.Security.ActiveDirectoryMembershipProvider
5 // Ben Maurer (bmaurer@users.sourceforge.net)
6 // Lluis Sanchez Gual (lluis@novell.com)
9 // Copyright (c) 2005 Novell, Inc (http://www.novell.com)
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
32 using System.Collections.Specialized;
34 namespace System.Web.Security {
36 [MonoTODO ("that's only a stub")]
37 public class ActiveDirectoryMembershipProvider : MembershipProvider {
39 [MonoTODO ("Not implemented")]
40 public override bool ChangePassword (string username, string oldPwd, string newPwd)
42 throw new NotImplementedException ();
45 [MonoTODO ("Not implemented")]
46 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
48 throw new NotImplementedException ();
51 [MonoTODO ("Not implemented")]
52 public override MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
54 throw new NotImplementedException ();
57 [MonoTODO ("Not implemented")]
58 public override bool DeleteUser (string username, bool deleteAllRelatedData)
60 throw new NotImplementedException ();
63 [MonoTODO ("Not implemented")]
64 public virtual string GeneratePassword ()
66 throw new NotImplementedException ();
69 [MonoTODO ("Not implemented")]
70 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
72 throw new NotImplementedException ();
75 [MonoTODO ("Not implemented")]
76 public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
78 throw new NotImplementedException ();
81 [MonoTODO ("Not implemented")]
82 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
84 throw new NotImplementedException ();
87 [MonoTODO ("Not implemented")]
88 public override int GetNumberOfUsersOnline ()
90 throw new NotImplementedException ();
93 [MonoTODO("Not implemented")]
94 public override string GetPassword (string username, string answer)
96 throw new NotImplementedException ();
99 [MonoTODO("Not implemented")]
100 public override MembershipUser GetUser (string username, bool userIsOnline)
102 throw new NotImplementedException ();
105 [MonoTODO("Not implemented")]
106 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
108 throw new NotImplementedException ();
111 [MonoTODO("Not implemented")]
112 public override string GetUserNameByEmail (string email)
114 throw new NotImplementedException ();
117 [MonoTODO("Not implemented")]
118 public override void Initialize (string name, NameValueCollection config)
120 throw new NotImplementedException ();
123 [MonoTODO("Not implemented")]
124 public override string ResetPassword (string username, string answer)
126 throw new NotImplementedException ();
129 [MonoTODO("Not implemented")]
130 public override void UpdateUser (MembershipUser user)
132 throw new NotImplementedException ();
135 [MonoTODO("Not implemented")]
136 public override bool ValidateUser (string username, string password)
138 throw new NotImplementedException ();
141 [MonoTODO("Not implemented")]
142 public override bool UnlockUser (string userName)
144 throw new NotImplementedException ();
147 [MonoTODO("Not implemented")]
148 public override string ApplicationName {
149 get { throw new NotImplementedException (); }
150 set { throw new NotImplementedException (); }
153 [MonoTODO("Not implemented")]
154 public ActiveDirectoryConnectionProtection CurrentConnectionProtection {
155 get { throw new NotImplementedException (); }
158 [MonoTODO("Not implemented")]
159 public override bool EnablePasswordReset {
160 get { throw new NotImplementedException (); }
163 [MonoTODO("Not implemented")]
164 public override bool EnablePasswordRetrieval {
165 get { throw new NotImplementedException (); }
168 [MonoTODO("Not implemented")]
169 public bool EnableSearchMethods {
170 get { throw new NotImplementedException (); }
173 [MonoTODO("Not implemented")]
174 public override MembershipPasswordFormat PasswordFormat {
175 get { throw new NotImplementedException (); }
178 [MonoTODO("Not implemented")]
179 public override bool RequiresQuestionAndAnswer {
180 get { throw new NotImplementedException (); }
183 [MonoTODO("Not implemented")]
184 public override bool RequiresUniqueEmail {
185 get { throw new NotImplementedException (); }
188 [MonoTODO("Not implemented")]
189 public override int MaxInvalidPasswordAttempts {
190 get { throw new NotImplementedException (); }
193 [MonoTODO("Not implemented")]
194 public override int MinRequiredNonAlphanumericCharacters {
195 get { throw new NotImplementedException (); }
198 [MonoTODO("Not implemented")]
199 public override int MinRequiredPasswordLength {
200 get { throw new NotImplementedException (); }
203 [MonoTODO("Not implemented")]
204 public override int PasswordAttemptWindow {
205 get { throw new NotImplementedException (); }
208 [MonoTODO("Not implemented")]
209 public int PasswordAnswerAttemptLockoutDuration {
210 get { throw new NotImplementedException (); }
213 [MonoTODO("Not implemented")]
214 public override string PasswordStrengthRegularExpression {
215 get { throw new NotImplementedException (); }