Use Single Sign-On to access ColdFusion applications via SharePoint

SharePoint custom Web Parts let you access multiple ColdFusion applications from the SharePoint server using Single Sign-On (SSO). After signing in, users can access multiple secure ColdFusion applications by accessing ColdFusion services from multiple Web Parts.

Note: For single sign-on capability, you need Microsoft Office SharePoint Portal Server 2003 or Microsoft Office SharePoint Server 2007. ColdFusion does not currently support Sharepoint Server 2010 or 2013.

To make a ColdFusion application available from SharePoint, use the CFSharepoint SSO WebPart template. This template is a customized version of PageViewer WebPart. It enables you to pass SSO credentials to the ColdFusion application. Download this template from the Adobe website or copy it from the ColdFusion 11 DVD.

Remember these points:

  • Web Parts support only the native single sign-on solution; other pluggable single sign-on services are not supported.
  • Only single sign-on credentials are passed to the ColdFusion application. The ColdFusion application must have the necessary logic to retrieve the credentials and login to the application.

Deploy the CF9SSOWebPart.wsp Web Part for Microsoft Office SharePoint Server 2007

To configure single sign-on for Microsoft Office SharePoint Server 2007, deploy the CF9SSOWebPart.wsp file to the SharePoint server.

  1. Copy the CF9SSOWebPart.wsp file to the BIN folder within the Web Server extensions. It is normally located at Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN in the SharePoint server.
  2. To deploy the solution to SharePoint, use the command prompt to navigate to Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN and enter the following commands, as required.To delete the solution if it is already present:

    STSADM.EXE -o deletesolution -name CF9SSOWebPart.wsp -override

    To add the solution to SharePoint:

    STSADM.EXE -o addsolution -f CF9SSOWebPart.wsp

    To deploy the solution to the configured website by specifying the URL:

    STSADM.EXE -o deploysolution -name CF9SSOWebPart.wsp
    -url <virtual server url> -local -allowGacDeployment

    To deploy the solution to all the configured websites:

    STSADM.EXE -o deploysolution -name CF9SSOWebPart.wsp -allcontenturls -local -allowGacDeployment

     

Import the CF9SSOWebPart.wsp Web Part into a Web Part Page

  1. Navigate to the web page on the SharePoint server where you want the Web Part to be accessible.
  2. In the Web Part page, click Site Actions > Site Settings.
  3. In the Site Settings page, click Galleries > Web Parts.
  4. In the Web Part gallery, click Upload in the toolbar pane.
  5. Select the CF9SSOWebPart.wsp Web Part.
  6. Enter the following details in the toolbar pane.
    • URL of the ColdFusion application to access
    • The form field name as the User ID
    • The form field name as the password
    • Name of the SSO application where the credentials are configured
      Once the Web Part is deployed, it takes the credentials from the SharePoint Single Sign-On database (based on the application name entered in the Tools Pane). These credentials are transferred to the ColdFusion application through the URL (provided in the Tools Pane) in a FORM containing the specified form fields.

Deploy the CF9SharepointSSOCab.CAB Web Part for Microsoft Office SharePoint Portal Server 2003

To configure single sign-on for Microsoft Office SharePoint Portal Server 2003, deploy the CAB file - CF9SharepointSSOCab.CAB

  1. Copy the CF9SharepointSSOCab.CAB to the BIN folder within the Web Server extensions. It is normally located at Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\BIN in the SharePoint server.
  2. Create a folder named CFSharePointSSO within the Layouts folder. The Layouts folder is normally located at Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Template\Layouts.
  3. From the CF9SharepointSSOCab.CAB file, copy the template file CFSSO.aspx to the CFSharePointSSO folder that you created in the previous step.
  4. In the command prompt, navigate to Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\bin and enter the following command to add the CAB file:

    stsadm.exe -o addwppack -filename CF9SharepointSSOCab.CAB -globalinstall

    If the CAB file exists, delete the CAB file and then enter the command to add the CAB file as follows:

    stsadm.EXE -o deletewppack -name CF9SharepointSSOCab.CAB

stsadm.exe -o addwppack -filename CF9SharepointSSOCab.CAB -globalinstall

Configure the CFSharepointSSO Web Part

  1. In the Site Settings page, go to Manage Security and Additional Settings > Manage Web Part Gallery.
  2. Click New in the toolbar in the Web Part Gallery. The New Web Parts List appears.
  3. Select the CFSSOwebpart.dwp Web Part and click Populate Gallery.
  4. Add the CFSharepointSSO Web Part to the Virtual Server Gallery. Clicking Edit Page > Modify Shared Page > Add Web Parts > Browse > Virtual Server Gallery. Then add the Web Part to the Web Parts list.
  5. After adding the CFSharepointSSO Web Part, click the Tools pane and enter the following details.
    • URL of the ColdFusion application to access
    • The form field name as the User ID
    • The form field name as the password
    • Name of the SSO application where the credentials are configured

Once the Web Part is deployed, it takes the credentials from the SharePoint Single Sign-On database (based on the application name entered in the Tools Pane). These credentials are transferred to the ColdFusion application through the URL (provided in the Tools Pane) in a FORM containing the specified form fields.

Get help faster and easier

New user?