More in this section

Forums / Developing with Sitefinity / Custom authentification username and pass

Custom authentification username and pass

2 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    24 Mar 2009
    Link to this post
    Hi,

    Could you sugest the way to validate as webservice the username and password of some user from Sf database. Thanks

    [WebMethod]  
         public bool Login(string userName, string password, bool createCookie)  
         {  
     
                
         }  
     
     
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    25 Mar 2009
    Link to this post
    Hi Pierre,

    I am not sure what exactly you are trying to achieve. Do you want to have security integration with some other application? A single sign-on feature? If this is the case, you should not have any problems implementing SSO (single sign-on) in a Sitefinity website. Here are the basic steps:
     - configure the forms authentication for single sign-on as described here;
     - make the Sitefinity website and the other ASP.NET application to use the same database for users (most probably, you should just copy the Membership configuration from your existing application to Sitefinity);
     - y
    ou may need to create your custom login system that logs users automatically. It is not a problem to override the Sitefinity login (~/Sitefinity/login.aspx).

    Sincerely yours,
    Georgi
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
2 posts, 0 answered