Custom membership provider broken after upgrade from 4.2 to 4.4
Our custom membership provider doesnt work after upgrading to 4.4.
The provider is initialized by sitefinity but the ValidateUser method is never invoked when using 'Telerik.Sitefinity.Security.SecurityManager.AuthenticateUser'.
Instead it goes straight to GetUsers (which does return a list of valid Sitefinity Users) and returns a 'UserLoggingReason.Unknown'
Fixed by feeding the ValidateUser method a Sitefinity User instead of a username string.
http://www.sitefinity.com/devnet/forums/sitefinity-4-x/developing-with-sitefinity/sitefinity-4-3-broke-custom-membershipprovider.aspx
Hi Erik,
I am sorry that this caused so much trouble. I suppose your custom provider doesn't have a GetUser() method implemented? We changed a bit the logic of the ValidateUser security method - it first calls GetUser() and if there isn't such a method or it returns null then the logic assumes that the validation fails. That's why you need to implement such method to return a valid User object.
Kind regards,