More in this section

Forums / Developing with Sitefinity / Opinion on Implementation

Opinion on Implementation

3 posts, 0 answered
  1. Garry
    Garry avatar
    52 posts
    Registered:
    04 Nov 2010
    22 Jul 2010
    Link to this post
    OK I need to integrate JitBit HelpDesk software and my Sitefinity Intranet site. JitBit offers a way to do this using the following methods below. I have chosen 5.2 (username + email + hash) method as the way to go. My question though is what is the best way to implement this in my Sitefinity site? I am guessing it would be to create a new usercontrol that creates the URL for a button of some sort, but it may just be easier to create some Javascript to do this instead. 

    Any suggestions before I spend time on this?

    Thanks!

    JitBit Documentation

    5. Autologin-feature

    AutoLogin (configuring single sign-on with your existing Web-apps and websites)

    Jitbit HelpDesk supports "autologin" feature which allows users to be pre-authenticated automatically (by your parent website for example) without entering their username and password. The "autologin" feature is targeted at developers and administrators, who integrate the HelpDesk software into their existing SQL-powered websites and applications. If the user is already authenticated on your parent website (for instance) there are two options:

    1. If a user is already present in the helpdesk's database and you know his password - redirect the user to the link of this kind: "AutoLogin.aspx?username=XXXXXX&pswHash=XXXXX". Where "username" is the user's login name, and "pswHash" is a MD5-hash of the user's HelpDesk-password.
    2. If a user is not already present in the helpdesk database or you don't want to pass his password, use this link format: http://MyHelpdeskUrl/AutoLogin.aspx?username=xxx&email=yyy&userHash=HASH where "username" is the user's username, "email" is is email and HASH is calculated as follows: MD5(name + email + shared-secret). The "shared secret" is specified in the admin panel. Remeber to specify a "strong" secret, at least 10 characters (the longer the better).

    When using the "autologin" feature you can optionally redirect users to the "new ticket" page. Just add "&new_ticket=1" to the link above.

    6. Windows-integrated authentication

    Starting from version 1.9 Jitbit HelpDesk supports Windows-integrated authentication and integrating with your existing Active Directory (AD) user's catalog. To enable Windows-integrated authentication edit the web.config file and un-comment this two lines:

    <authentication mode="Windows"></authentication>
    <identity impersonate="true"/>

    and comment the above tag which enables "Forms" authentication. Also remember to check if Windows-integrated authentication is enabled in IIS directory where HelpDesk is unstalled.

    PLEASE NOTE: that when Windows-authentiction is enabled, Jitbit HelpDesk automatically adds a domain-user into HelpDesk database when logged in for the first time, if he is properly authenticated with his Windows-account. Also HelpDesk will try to connect to your domain-controller and populate the user's email from Active Directory.


  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    22 Jul 2010
    Link to this post
    Hi Garry Clark,

    Thank you for using our services.

    Well it depends on your design and how users are going to use the help desk. For example if you are going to have logged in users that use the help desk it will be easier with server side code than with JavaScript. You will be able to get the currently logged in user's user name and email. Then form the link to the help desk. If you are going about this with the user inputting user name and e-mail in input fields you can use JavaScript for this.

    All the best,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Garry
    Garry avatar
    52 posts
    Registered:
    04 Nov 2010
    22 Jul 2010
    Link to this post
    Radoslav,
    Yeah basically what I was after was the fastest and easiest method to get some sort of link between my Intranet and the Jitbit stuff. It sounds like creating a serverside control is it. What I was after on the Javascript side of things was possibly a way to leverage a Generic Content control and create a link that dynamically set its url.

    My users will already be authenticated against the Intranet, so prompting them for a username and email wouldn't work.

    Anyhow I guess I'll just work on creating an usercontrol to accomplish what I need.

    Thanks!
Register for webinar
3 posts, 0 answered