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.
33 using System.Collections.Specialized;
35 namespace System.Web.Security {
37 [MonoTODO ("that's only a stub")]
38 public class ActiveDirectoryMembershipProvider : MembershipProvider {
40 [MonoTODO ("Not implemented")]
41 public override bool ChangePassword (string username, string oldPwd, string newPwd)
43 throw new NotImplementedException ();
46 [MonoTODO ("Not implemented")]
47 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
49 throw new NotImplementedException ();
52 [MonoTODO ("Not implemented")]
53 public override MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
55 throw new NotImplementedException ();
58 [MonoTODO ("Not implemented")]
59 public override bool DeleteUser (string username, bool deleteAllRelatedData)
61 throw new NotImplementedException ();
64 [MonoTODO ("Not implemented")]
65 public virtual string GeneratePassword ()
67 throw new NotImplementedException ();
70 [MonoTODO ("Not implemented")]
71 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
73 throw new NotImplementedException ();
76 [MonoTODO ("Not implemented")]
77 public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
79 throw new NotImplementedException ();
82 [MonoTODO ("Not implemented")]
83 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
85 throw new NotImplementedException ();
88 [MonoTODO ("Not implemented")]
89 public override int GetNumberOfUsersOnline ()
91 throw new NotImplementedException ();
94 [MonoTODO("Not implemented")]
95 public override string GetPassword (string username, string answer)
97 throw new NotImplementedException ();
100 [MonoTODO("Not implemented")]
101 public override MembershipUser GetUser (string username, bool userIsOnline)
103 throw new NotImplementedException ();
106 [MonoTODO("Not implemented")]
107 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
109 throw new NotImplementedException ();
112 [MonoTODO("Not implemented")]
113 public override string GetUserNameByEmail (string email)
115 throw new NotImplementedException ();
118 [MonoTODO("Not implemented")]
119 public override void Initialize (string name, NameValueCollection config)
121 throw new NotImplementedException ();
124 [MonoTODO("Not implemented")]
125 public override string ResetPassword (string username, string answer)
127 throw new NotImplementedException ();
130 [MonoTODO("Not implemented")]
131 public override void UpdateUser (MembershipUser user)
133 throw new NotImplementedException ();
136 [MonoTODO("Not implemented")]
137 public override bool ValidateUser (string username, string password)
139 throw new NotImplementedException ();
142 [MonoTODO("Not implemented")]
143 public override bool UnlockUser (string userName)
145 throw new NotImplementedException ();
148 [MonoTODO("Not implemented")]
149 public override string ApplicationName {
150 get { throw new NotImplementedException (); }
151 set { throw new NotImplementedException (); }
154 [MonoTODO("Not implemented")]
155 public ActiveDirectoryConnectionProtection CurrentConnectionProtection {
156 get { throw new NotImplementedException (); }
159 [MonoTODO("Not implemented")]
160 public override bool EnablePasswordReset {
161 get { throw new NotImplementedException (); }
164 [MonoTODO("Not implemented")]
165 public override bool EnablePasswordRetrieval {
166 get { throw new NotImplementedException (); }
169 [MonoTODO("Not implemented")]
170 public bool EnableSearchMethods {
171 get { throw new NotImplementedException (); }
174 [MonoTODO("Not implemented")]
175 public override MembershipPasswordFormat PasswordFormat {
176 get { throw new NotImplementedException (); }
179 [MonoTODO("Not implemented")]
180 public override bool RequiresQuestionAndAnswer {
181 get { throw new NotImplementedException (); }
184 [MonoTODO("Not implemented")]
185 public override bool RequiresUniqueEmail {
186 get { throw new NotImplementedException (); }
189 [MonoTODO("Not implemented")]
190 public override int MaxInvalidPasswordAttempts {
191 get { throw new NotImplementedException (); }
194 [MonoTODO("Not implemented")]
195 public override int MinRequiredNonAlphanumericCharacters {
196 get { throw new NotImplementedException (); }
199 [MonoTODO("Not implemented")]
200 public override int MinRequiredPasswordLength {
201 get { throw new NotImplementedException (); }
204 [MonoTODO("Not implemented")]
205 public override int PasswordAttemptWindow {
206 get { throw new NotImplementedException (); }
209 [MonoTODO("Not implemented")]
210 public int PasswordAnswerAttemptLockoutDuration {
211 get { throw new NotImplementedException (); }
214 [MonoTODO("Not implemented")]
215 public override string PasswordStrengthRegularExpression {
216 get { throw new NotImplementedException (); }