[System.Web.Extensions] Update default profile and remove old profiles files
[mono.git] / mcs / class / System.Web / System.Web.Security / ActiveDirectoryMembershipProvider.cs
1 //
2 // System.Web.Security.ActiveDirectoryMembershipProvider
3 //
4 // Authors:
5 //      Ben Maurer (bmaurer@users.sourceforge.net)
6 //      Lluis Sanchez Gual (lluis@novell.com)
7 //
8 // (C) 2003 Ben Maurer
9 // Copyright (c) 2005 Novell, Inc (http://www.novell.com)
10 //
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:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
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.
29 //
30
31
32 using System.Collections.Specialized;
33
34 namespace System.Web.Security {
35
36         [MonoTODO ("that's only a stub")]
37         public class ActiveDirectoryMembershipProvider : MembershipProvider {
38                 
39                 [MonoTODO ("Not implemented")]
40                 public override bool ChangePassword (string username, string oldPwd, string newPwd)
41                 {
42                         throw new NotImplementedException ();
43                 }
44                 
45                 [MonoTODO ("Not implemented")]
46                 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
47                 {
48                         throw new NotImplementedException ();
49                 }
50                 
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)
53                 {
54                         throw new NotImplementedException ();
55                 }
56                 
57                 [MonoTODO ("Not implemented")]
58                 public override bool DeleteUser (string username, bool deleteAllRelatedData)
59                 {
60                         throw new NotImplementedException ();
61                 }
62                 
63                 [MonoTODO ("Not implemented")]
64                 public virtual string GeneratePassword ()
65                 {
66                         throw new NotImplementedException ();
67                 }
68                 
69                 [MonoTODO ("Not implemented")]
70                 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
71                 {
72                         throw new NotImplementedException ();
73                 }
74                 
75                 [MonoTODO ("Not implemented")]
76                 public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
77                 {
78                         throw new NotImplementedException ();
79                 }
80                 
81                 [MonoTODO ("Not implemented")]
82                 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
83                 {
84                         throw new NotImplementedException ();
85                 }
86                 
87                 [MonoTODO ("Not implemented")]
88                 public override int GetNumberOfUsersOnline ()
89                 {
90                         throw new NotImplementedException ();
91                 }
92                 
93                 [MonoTODO("Not implemented")]
94                 public override string GetPassword (string username, string answer)
95                 {
96                         throw new NotImplementedException ();
97                 }
98                 
99                 [MonoTODO("Not implemented")]
100                 public override MembershipUser GetUser (string username, bool userIsOnline)
101                 {
102                         throw new NotImplementedException ();
103                 }
104                 
105                 [MonoTODO("Not implemented")]
106                 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
107                 {
108                         throw new NotImplementedException ();
109                 }
110                 
111                 [MonoTODO("Not implemented")]
112                 public override string GetUserNameByEmail (string email)
113                 {
114                         throw new NotImplementedException ();
115                 }
116                 
117                 [MonoTODO("Not implemented")]
118                 public override void Initialize (string name, NameValueCollection config)
119                 {
120                         throw new NotImplementedException ();
121                 }
122                 
123                 [MonoTODO("Not implemented")]
124                 public override string ResetPassword (string username, string answer)
125                 {
126                         throw new NotImplementedException ();
127                 }
128                 
129                 [MonoTODO("Not implemented")]
130                 public override void UpdateUser (MembershipUser user)
131                 {
132                         throw new NotImplementedException ();
133                 }
134                 
135                 [MonoTODO("Not implemented")]
136                 public override bool ValidateUser (string username, string password)
137                 {
138                         throw new NotImplementedException ();
139                 }
140                 
141                 [MonoTODO("Not implemented")]
142                 public override bool UnlockUser (string userName)
143                 {
144                         throw new NotImplementedException ();
145                 }
146                 
147                 [MonoTODO("Not implemented")]
148                 public override string ApplicationName {
149                         get { throw new NotImplementedException (); }
150                         set { throw new NotImplementedException (); }
151                 }
152
153                 [MonoTODO("Not implemented")]
154                 public ActiveDirectoryConnectionProtection CurrentConnectionProtection {
155                         get { throw new NotImplementedException (); }
156                 }
157                 
158                 [MonoTODO("Not implemented")]
159                 public override bool EnablePasswordReset {
160                         get { throw new NotImplementedException (); }
161                 }
162                 
163                 [MonoTODO("Not implemented")]
164                 public override bool EnablePasswordRetrieval {
165                         get { throw new NotImplementedException (); }
166                 }
167
168                 [MonoTODO("Not implemented")]
169                 public bool EnableSearchMethods {
170                         get { throw new NotImplementedException (); }
171                 }
172                 
173                 [MonoTODO("Not implemented")]
174                 public override MembershipPasswordFormat PasswordFormat {
175                         get { throw new NotImplementedException (); }
176                 }
177                 
178                 [MonoTODO("Not implemented")]
179                 public override bool RequiresQuestionAndAnswer {
180                         get { throw new NotImplementedException (); }
181                 }
182                 
183                 [MonoTODO("Not implemented")]
184                 public override bool RequiresUniqueEmail {
185                         get { throw new NotImplementedException (); }
186                 }
187                 
188                 [MonoTODO("Not implemented")]
189                 public override int MaxInvalidPasswordAttempts {
190                         get { throw new NotImplementedException (); }
191                 }
192                 
193                 [MonoTODO("Not implemented")]
194                 public override int MinRequiredNonAlphanumericCharacters {
195                         get { throw new NotImplementedException (); }
196                 }
197                 
198                 [MonoTODO("Not implemented")]
199                 public override int MinRequiredPasswordLength {
200                         get { throw new NotImplementedException (); }
201                 }
202                 
203                 [MonoTODO("Not implemented")]
204                 public override int PasswordAttemptWindow {
205                         get { throw new NotImplementedException (); }
206                 }
207
208                 [MonoTODO("Not implemented")]
209                 public int PasswordAnswerAttemptLockoutDuration {
210                         get { throw new NotImplementedException (); }
211                 }
212                 
213                 [MonoTODO("Not implemented")]
214                 public override string PasswordStrengthRegularExpression {
215                         get { throw new NotImplementedException (); }
216                 }
217         }
218 }
219