Home

 

Enable the AJAX proxy to forward user credentials

Edit the proxy configuration template file to instruct the IBM Lotus Connections server to accept LTPA tokens. This task is necessary is you want to configure single sign-on between Lotus Connections and the servers defined in the proxy configuration file.


To enable the AJAX proxy to forward user credentials...

  1. Open a command line window, start the wsadmin tool, and then do one of the following things:

    • If you want all of the features to pass LTPA tokens, access the common AJAX proxy configuration template file...

    • Network deployments:

        execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/
         connectionsConfig.py")
        

    If you are prompted to specify which server to connect to, type 1. This information is not used by wsadmin when you are making configuration changes.

  2. If you want only a single feature to be able to pass LTPA tokens, access the custom proxy configuration template file that you created for that feature. See Configuring the AJAX proxy for information about how to create this file. To access the custom configuration template file...

  3. Network deployments:

      execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/
       feature_nameConfig.py")
      

    where feature_name is the name of the feature for which you created a custom proxy configuration template file. For example:

    If you are prompted to specify which server to connect to, type 1. This information is not used by wsadmin when you are making configuration changes.

  4. Check out the proxy configuration template file...

    • If you want all of the features to be able to pass LTPA tokens, use the following command to check out the proxy-config.tpl file.

        LCConfigService.checkOutProxyConfig("<temp_directory>","cell_name")
        

  5. If you want only a single feature to be able to pass LTPA tokens...

      feature_nameConfigService.checkOutProxyConfig(
      "<temp_directory>","cell_name")
      

    where feature_name is the name of the feature for which you created a custom proxy configuration template file. For example:

    • Activities:

        ActivitiesConfigService.checkOutProxyConfig("<temp_directory>",
         "cell_name")
        

  6. Blogs or Communities:

      CommunitiesConfigService.checkOutProxyConfig("<temp_directory>",
       "cell_name")
      

  7. Home page:

      HomepageCellConfig.checkOutProxyConfig("<temp_directory>",
       "cell_name")
      

  8. Profiles:

      ProfilesConfigService.checkOutProxyConfig("<temp_directory>",
       "cell_name")
      

  9. From the temporary to which you checked out the files, open the proxy configuration template file in a text editor.

  10. Include the following declarations in the proxy:policy block of the service to allow cookies for LTPA tokens to be passed to the features:

      <proxy:cookies>
          <proxy:cookie>JSESSIONID</proxy:cookie>
          <proxy:cookie>LtpaToken</proxy:cookie>
          <proxy:cookie>LtpaToken2</proxy:cookie>
      </proxy:cookies>
      

  11. Save and close the file.

  12. Check in the proxy configuration template file during the same session in which you checked it out. To do so...

    • If you edited the proxy-config.tpl file, use the following command to check it back in:

        LCConfigService.checkInProxyConfig("<temp_directory>",
         "cell_name")
        

    where <temp_directory> is the temporary to which you checked out the configuration files, and cell_name is the name of the cell where the feature that uses the common proxy-config.tpl file is located.

  13. If you made configuration changes for a specific feature, check that custom template file back in...

    • Activities:

        ActivitiesConfigService.checkInProxyConfig("<temp_directory>",
         "cell_name")
        

  14. Blogs or Communities:

      CommunitiesConfigService.checkInProxyConfig("<temp_directory>",
       "cell_name")
      

  15. Home page:

      HomepageCellConfig.checkInProxyConfig("<temp_directory>",
       "cell_name")
      

  16. Profiles:

      ProfilesConfigService.checkInProxyConfig("<temp_directory>",
       "cell_name")
      

    where <temp_directory> is the temporary directory to which you checked out the configuration files, and cell_name is the name of the cell where the feature that uses the proxy template file is located.

  17. Restart the application server hosting Lotus Connections.


Configure the AJAX proxy

 

Related tasks

Securing cookies


+

Search Tips   |   Advanced Search