Defining policy rules for the remote connection (TFIM) | HCL Digital Experience

Learn about how to create a policy rule for the SSO connection. Creating a policy rule is required to use the SSO connection for the Identity Provider that you registered.

About this task

The metadata setting SSO_SAML20_IDP enables the policy for SSO authentication by using SAML. Replace the default value, in this case, tfim101 with the unique Identity Provider name.


  1. To create a policy rule for a remote connection that uses a Tivoli Federated Identity Manager Identity Provider, create an XML document like the following example:
    • The following example creates a policy for an SSO connection to, which is controlled by the Tivoli Federated Identity Manager Identity Provider.
    • The example includes the optional definition of a cookie handling rule store-in-session for the authentication tokens LtpaToken and LtpaToken2. This setting saves the authentication tokens of the remote connection in the cookie store. When a URL to the remote site is requested again, the Outbound HTTP connection service establishes an authenticated HTTP connection by using the saved authentication tokens. Reestablishing the SAML authentication procedure is therefore not needed.
    <?xml version="1.0" encoding="UTF-8"?>
    <proxy-rules xmlns:xsi=""
    		<mapping contextpath="/myproxy" url="*">
    			<policy name="pol_tfim101" url="*" >
    				<cookie-rule name="co_tfim101">
  2. After you save the XML file, run the ConfigEngine task update-outbound-http-connection-config to apply the policy settings to the configuration profile:
    • AIX®, HP-UX, Linux, Solaris: ./ update-outbound-http-connection-config -DConfigFileName=XML_file -DOutboundProfileType=global
    • IBM® i: update-outbound-http-connection-config -DConfigFileName=XML_file -DOutboundProfileType=global
    • Windows: ConfigEngine.bat update-outbound-http-connection-config -DConfigFileName=XML_file -DOutboundProfileType=global
    where XML_file is the file path to the XML file.