Deliver Awesome UI with the most complete toolboxes for .NET, Web and Mobile development
Automate UI, load and performance testing for web, desktop and mobile
A complete cloud platform for an app or your entire digital business
Detect and predict anomalies by automating machine learning to achieve higher asset uptime and maximized yield
Automate decision processes with a no-code business rules engine
Optimize data integration with high-performance connectivity
Connect to any cloud or on-premises data source using a standard interface
Build engaging multi-channel web and digital experiences with intuitive web content management
Personalize and optimize the customer experience across digital touchpoints
Build, protect and deploy apps across any platform and mobile device
Rapidly develop, manage and deploy business apps, delivered as SaaS in the cloud
I have a code snippet which is supposed to do programmatic login using a custom membership provider. We use claims authentication with Sitefinity 7.1. For some reason the persistent flag seems not to work.
var authenticationResult = SecurityManager.AuthenticateUser("Pivotal.MembershipProvider", userName, password, rememberMe);
I did some digging inside the code and found a place which I believe is responsible for setting the cookie, There the code checks for Authentication mode and sets the cookie only if mode is Forms.
So my question is -- how to make this functionality available in Claims authentication mode ?
if (SecurityManager.AuthenticationMode == Telerik.Sitefinity.Security.Configuration.AuthenticationMode.Forms)<
> SecurityManager.SetAuthenticationCookie(SystemManager.CurrentHttpContext.Response, manager.Provider.Name, user, rememberMe, issueDate);