I wonder if there are Kentico developers out there who have done any custom authentication with Kentico CMS 3.0.
I'm new to this platform and having problems understand the steps required to override the default security handler in order to talk to an external source.
The things I tried.
- Created a CustomSecurity class that inherits the CMS.CustomEventHandler.CustomSecurityHandler and override the OnAuthentication method like the following and set a breakpoint on the return statement inside the OnAuthentication method in Visual Studio. But the breakpoint is never hit when I try to login from the website.
I'm must be doing something wrong. Please help.
public class CustomSecurity : CustomSecurityHandler
public override object OnAuthentication(object userInfo, string username, string password)
return base.OnAuthentication(userInfo, username, password);