New test.
[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 #if NET_2_0
32
33 using System.Collections.Specialized;
34
35 namespace System.Web.Security {
36
37         [MonoTODO ("that's only a stub")]
38         public class ActiveDirectoryMembershipProvider : MembershipProvider {
39                 
40                 [MonoTODO]
41                 public override bool ChangePassword (string username, string oldPwd, string newPwd)
42                 {
43                         throw new NotImplementedException ();
44                 }
45                 
46                 [MonoTODO]
47                 public override bool ChangePasswordQuestionAndAnswer (string username, string password, string newPwdQuestion, string newPwdAnswer)
48                 {
49                         throw new NotImplementedException ();
50                 }
51                 
52                 [MonoTODO]
53                 public override MembershipUser CreateUser (string username, string password, string email, string pwdQuestion, string pwdAnswer, bool isApproved, object providerUserKey, out MembershipCreateStatus status)
54                 {
55                         throw new NotImplementedException ();
56                 }
57                 
58                 [MonoTODO]
59                 public override bool DeleteUser (string username, bool deleteAllRelatedData)
60                 {
61                         throw new NotImplementedException ();
62                 }
63                 
64                 [MonoTODO]
65                 public virtual string GeneratePassword ()
66                 {
67                         throw new NotImplementedException ();
68                 }
69                 
70                 [MonoTODO]
71                 public override MembershipUserCollection FindUsersByEmail (string emailToMatch, int pageIndex, int pageSize, out int totalRecords)
72                 {
73                         throw new NotImplementedException ();
74                 }
75                 
76                 [MonoTODO]
77                 public override MembershipUserCollection FindUsersByName (string nameToMatch, int pageIndex, int pageSize, out int totalRecords)
78                 {
79                         throw new NotImplementedException ();
80                 }
81                 
82                 [MonoTODO]
83                 public override MembershipUserCollection GetAllUsers (int pageIndex, int pageSize, out int totalRecords)
84                 {
85                         throw new NotImplementedException ();
86                 }
87                 
88                 [MonoTODO]
89                 public override int GetNumberOfUsersOnline ()
90                 {
91                         throw new NotImplementedException ();
92                 }
93                 
94                 [MonoTODO]
95                 public override string GetPassword (string username, string answer)
96                 {
97                         throw new NotImplementedException ();
98                 }
99                 
100                 [MonoTODO]
101                 public override MembershipUser GetUser (string username, bool userIsOnline)
102                 {
103                         throw new NotImplementedException ();
104                 }
105                 
106                 [MonoTODO]
107                 public override MembershipUser GetUser (object providerUserKey, bool userIsOnline)
108                 {
109                         throw new NotImplementedException ();
110                 }
111                 
112                 [MonoTODO]
113                 public override string GetUserNameByEmail (string email)
114                 {
115                         throw new NotImplementedException ();
116                 }
117                 
118                 [MonoTODO]
119                 public override void Initialize (string name, NameValueCollection config)
120                 {
121                         throw new NotImplementedException ();
122                 }
123                 
124                 [MonoTODO]
125                 public override string ResetPassword (string username, string answer)
126                 {
127                         throw new NotImplementedException ();
128                 }
129                 
130                 [MonoTODO]
131                 public override void UpdateUser (MembershipUser user)
132                 {
133                         throw new NotImplementedException ();
134                 }
135                 
136                 [MonoTODO]
137                 public override bool ValidateUser (string username, string password)
138                 {
139                         throw new NotImplementedException ();
140                 }
141                 
142                 [MonoTODO]
143                 public override bool UnlockUser (string userName)
144                 {
145                         throw new NotImplementedException ();
146                 }
147                 
148                 [MonoTODO]
149                 public override string ApplicationName {
150                         get { throw new NotImplementedException (); }
151                         set { throw new NotImplementedException (); }
152                 }
153
154                 [MonoTODO]
155                 public ActiveDirectoryConnectionProtection CurrentConnectionProtection {
156                         get { throw new NotImplementedException (); }
157                 }
158                 
159                 [MonoTODO]
160                 public override bool EnablePasswordReset {
161                         get { throw new NotImplementedException (); }
162                 }
163                 
164                 [MonoTODO]
165                 public override bool EnablePasswordRetrieval {
166                         get { throw new NotImplementedException (); }
167                 }
168
169                 [MonoTODO]
170                 public bool EnableSearchMethods {
171                         get { throw new NotImplementedException (); }
172                 }
173                 
174                 [MonoTODO]
175                 public override MembershipPasswordFormat PasswordFormat {
176                         get { throw new NotImplementedException (); }
177                 }
178                 
179                 [MonoTODO]
180                 public override bool RequiresQuestionAndAnswer {
181                         get { throw new NotImplementedException (); }
182                 }
183                 
184                 [MonoTODO]
185                 public override bool RequiresUniqueEmail {
186                         get { throw new NotImplementedException (); }
187                 }
188                 
189                 [MonoTODO]
190                 public override int MaxInvalidPasswordAttempts {
191                         get { throw new NotImplementedException (); }
192                 }
193                 
194                 [MonoTODO]
195                 public override int MinRequiredNonAlphanumericCharacters {
196                         get { throw new NotImplementedException (); }
197                 }
198                 
199                 [MonoTODO]
200                 public override int MinRequiredPasswordLength {
201                         get { throw new NotImplementedException (); }
202                 }
203                 
204                 [MonoTODO]
205                 public override int PasswordAttemptWindow {
206                         get { throw new NotImplementedException (); }
207                 }
208
209                 [MonoTODO]
210                 public int PasswordAnswerAttemptLockoutDuration {
211                         get { throw new NotImplementedException (); }
212                 }
213                 
214                 [MonoTODO]
215                 public override string PasswordStrengthRegularExpression {
216                         get { throw new NotImplementedException (); }
217                 }
218         }
219 }
220 #endif
221