Configure the Identity Management component

Complete the tasks in this section to configure the Identity Management component on the Codar node.

  1. Add the following content in the <codar_home>/jboss-as/standalone/deployments/idm-service.war/WEB-INF/spring/applicationContext.properties (in Linux) or the <codar_home>\/jboss-as\standalone\deployments\idm-service.war\WEB-INF\spring\applicationContext.properties (in Windows) file:

    idm.csa.hostname = <load_balancer_host_name>
    idm.csa.port = <load_balancer_codar_port_number>
    .
    .
    .
    # Properties for CSA Auditing Server
    .
    .
    .
    idm.csa.audit.hostname = <load_balancer_host_name>"/>
    idm.csa.audit.port = <load_balancer_codar_port_number>"/>

    For example:

    idm.csa.hostname = load_balancer.xyz.com
    idm.csa.port = 8443
    .
    .
    .
    # Properties for CSA Auditing Server
    .
    .
    .
    idm.csa.audit.hostname = load_balancer.xyz.com"/>
    idm.csa.audit.port = 8443"/>
  2. Update the values of the host name and port to the [LOAD_BALANCER_HOSTNAME] and [LOAD_BALANCER_Codar_HTTPS_PORT] in the applicationContext-security.xml file:

    NOTE: It is not required in Codar 1.80 to update the above mentioned parameters such as hostname and port. These values are fetched from csa.properties file.

    <beans:bean id="idmConfig" class="com.hp.ccue.identity.rp.IdentityServiceConfig">
    <beans:property name="protocol" value="#{systemEnvironment[CSA_IDM_PROVIDER_PROTOCOL]?: 'https'}"/>
    <beans:property name="hostname" value="#{systemEnvironment[CSA_IDM_PROVIDER_HOSTNAME]?: '${csa.provider.hostname}'}"/>
    <beans:property name="port" value="#{systemEnvironment[CSA_IDM_PROVIDER_PORT]?: ${csa.provider.port}}"/>
    <beans:property name="servicePath" value="idm-service"/>
    <beans:property name="integrationAcctUserName" value="idmTransportUser"/>
    <beans:property name="integrationAcctPassword" value="#{systemEnvironment[CSA_SECURITY_IDM_TRANSPORT_USER_PASSWORD] == null ? '${securityIdmTransportUserPassword}' : securityHelper.decrypt(systemEnvironment[CSA_SECURITY_IDM_TRANSPORT_USER_PASSWORD])}"/>
    <beans:property name="defaultTenant" value="#{systemEnvironment[CSA_ORG_NAME_IDENTIFIER] ?: '${csa.orgName.identifier}'}"/>
    </beans:bean>

  3. Uncomment the following line in the <codar_home>\jboss-as\standalone\deployments\csa.war\WEB-INF\applicationContext.xml (for Windows) or <codar_home>/jboss-as/standalone/deployments/csa.war/WEB-INF/applicationContext.xml (for Linux) file:

    <jee:jndi-lookup id="channelGroup" jndi-name="java:jboss/clustering/group/server" expected-type="org.wildfly.clustering.group.Group"/>