Could you call your own provider from Membership class other than using WSAT? The forum you gave did not solve the issue that I'm currently having. On my visual web developer, I only specified a database connection. Moist Hi, moisescujardo As we already know, Membership Provider is an abstract class, so we need to override all the abstract methods in the Custom Membership Provider class.
hi, i'm doing a custom membership provider, starting from odbc microsoft demo, to link a firebird database, trought a little difficult for me, because i'm a delphi programmer not vb !! Except for validating the password strength, it works.
Custom membershipprovider onvalidatingpassword
Security; 14: 15: public sealed class Custom Membership Provider : Membership Provider 16: I deliberately put that there so that I can illustrate that you could return a custom membership user.
Ottiene il numero di minuti in cui effettuare il numero massimo di tentativi non validi di immissione della password o della risposta per la password prima che l'utente di appartenenza venga bloccato.
but , after some hours of work it write and read perfectly ( if someone wants source code ... ) .i've only one problem : the On Validating Password event , that is derived from the anchestor, ( fired in createuser, changepassword and some other sub ) seems don't work. I call the On Validating Password virtual method as shown in the ODBC sample: Validate Password Event Args args = new Validate Password Event Args(username, new Password, true); On Validating Password(args); The values for the relevant are: Minimum password length: 7Minimum non-alphanumeric characters: 1Regular expression: (null) However, entering "myname" on the Change Password control does not cause args. Custom IPrincipal and Custom Membership Provider I want to create a custom IPrincipal so that I can pass around additional information from my users (id for example, ip too for logging) and so that my middle tier components can have the user id without it bieng passed to them.
it alwais return args.cancel = False , even if the password in too short or don't respect Password Strength Regular Expression property. I also want to set the ID someplace and make it a read only property so people cannot fake access if connecting to the middle tier components directly.
I always get the following message on Security: There is a problem with your selected data store. For your question, I did not have anything on my App_Data folder. There is a very cool feature in Visual Studio 2005/2008 that does this automatically.