Previous Topic: Install the Federation Agent for Windows AuthenticationNext Topic: Delegated Authentication Setup


Configure the Federation Agent for Windows Authentication

Information Required by the Configuration Wizard

After you install the Federation Agent, run the configuration wizard. On a Windows system, select the authentication protocol (Kerberos or NTLM). ON a UNIX system, Kerberos is the only supported protocol.

Note: The configuration executable and folder names include the string iwa, which references support for Integrated Windows Authentication technology.

The following parameters are required for NTLM and for Kerberos configurations.

Important! The values for these parameters must match the values that are specified in the Deployment settings of the Administrative UI. Find out the value of these these settings from the CA SiteMinder® Federation Standalone administrator before you configure the Federation Agent.

Cookie zone

Specifies the single sign-on security zone name.

Default: FED

Value: An alphabetic string

Cookie name

Specifies the name of the open format cookie.

Default: ""

Value: An alphabetic string

Encryption password

Specifies the password that derives a key for encrypting the cookie.

Default: ""

Value: An alphanumeric string

Encryption Transformation type

Specifies the FIPS-compliant cryptographic transform.

Default: AES128/CBC/PKCS5Padding

Limits: AES128/CBC/PKCS5Padding, AES192/CBC/PKCS5Padding, AES256/CBC/PKCS5Padding, 3DES_EDE/CBC/PKCS5Padding

UseHMAC

Specifies whether to use a Hash Message Authentication Code (HMAC).

Default: false

Limits: true or false

Note: If you are on a system running Windows and you have selected the Kerberos authentication protocol, you can optionally select NTLM as the failover option.

When specifying the Kerberos protocol, provide values for the following parameters:

KDC address

Specifies the fully qualified domain name of the key distribution center (KDC).

KDC realm

Specifies the domain name of the system on which the KDC is located.

Keytab location

Specifies the path of the keytab file. This file is created on the KDC system and moved to the system where the Federation Agent is installed.

Principal

Specifies the service principal name (SPN), which uniquely identifies an instance of a service, for example, HTTP/host.abc.com. HTTP is the name of the service and host.abc.com is the name of the host on which the service resides.

The Keytab location and Principal parameters are written to the login.conf file. The other parameters are written to the IWAConnectorConfig.conf file.

Note: If you review the login.conf file, do not change the value of the isInitiator parameter.

Run the Configuration Wizard on Windows

Run the configuration wizard for the Federation Agent after the installation. The wizard establishes values for parameters related to authentication protocol and cookie specifications.

Follow these steps:

  1. Exit all applications that are running.
  2. Navigate to where the configuration command file is located:

    federation_installation_dir\connectors\IWA.

  3. Double-click ca-fedmanager-iwa-config.cmd.

    The configuration wizard starts.

  4. Follow the prompts provided by the wizard.

The configuration is complete.

Run the Configuration Wizard on UNIX

The configuration wizard for the Federation Agent establishes values for parameters related to authentication protocol and cookie specifications.

Run the configuration wizard to complete the installation process.

Follow these steps:

  1. Exit all applications that are running.
  2. Navigate to where the configuration command file is located:

    federation_installation_dir/connectors/IWA

  3. Execute the script ca-fedmanager-iwa-config.sh.

    The configuration wizard starts.

  4. Follow the prompts provided by the wizard to complete the configuration.
  5. Source the following script so the Agent works properly:
    . /federation_install_dir/connectors/IWA/ca_fedmgr_iwa_env.ksh
    
  6. Restart the federation services:
    1. Open a command window.
    2. Run the following scripts:

      federation_install_dir/fedmanager.sh stop

      federation_install_dir/fedmanager.sh start

    Note: Do not stop and start the services as the root user. You must be a non-root user.

Unattended Configuration (Windows)

After you configure the Federation Agent one time using the wizard, you can configure it on the same system, or a different system, using unattended mode. An unattended mode configuration does not require user intervention. It uses a configuration properties file. You can modify the configuration properties to suit your requirements.

Follow these steps:

  1. Navigate to the directory where the configuration executable is located:

    federation_installation_dir\connectors\IWA\install_config_info

  2. Enter the following command at a command prompt:
    ca-fedmanager-iwa-confg.bin i-silent -f ca-fedmanager-iwa-config.properties
    
    -f

    Specifies the name of the Federation Agent configuration properties file. If the properties file is not in the same directory as the executable file, specify the relative path to the properties file.

    -i

    Specifies the configuration mode. For unattended mode, the value is silent.

The unattended configuration is complete.

Unattended Configuration (UNIX)

After you configure the Federation Agent one time using the wizard, you can configure it on the same system, or a different system, using unattended mode. An unattended mode configuration does not require user intervention. It uses a configuration properties file. Modify the configuration properties file to suit your requirements.

Follow these steps:

  1. Navigate to the directory where the configuration executable is located:

    federation_installation_dir/connectors/IWA/install_config_info

  2. Enter the following command at a command prompt:
    ca-fedmanager-iwa-confg.bin i-silent -f ca-fedmanager-iwa-config.properties
    
    -f

    Specifies the name of the Federation Agent configuration properties file. If the properties file is not in the same directory as the executable file, specify the relative path to the properties file.

    -i

    Specifies the configuration mode. For unattended mode, the value is silent.

The unattended configuration is complete.

Modifying the Configuration File for the Federation Agent (Optional)

After you have run the configuration wizard, the values you specified are written to the IWAConnectorConfig.conf file. You can rerun the wizard at any time to modify almost all the parameter values.

Several parameter values are not set in the configuration wizard. You can modify the file directly when you want to update the following values:

context_cleanup_interval

Specifies the interval after which the cleanup thread starts deleting the expired context. Decreasing this value leads to quicker cleanup and better memory availability.

Default: 30000 milliseconds

Value: A lower value is recommended when you expect many incomplete requests.

context_expiration_interval

Specifies the time after which a context is assumed to be expired. For NTLM, context is valid for maximum 1 minute.

Default: 60000 milliseconds

Value: The value of this parameter cannot be set less than 1 minute. A higher value can possibly lead to a stale context not getting cleaned up.

context_cleanup_thread_priority

Specifies the priority for the context clean-up thread.

Default: 5

Value: A higher priority is recommended when you expect many incomplete requests.