Update applicationContext.xml to be FIPS 140-2 compliant

This file is shared between the configuration guide (PDF) and upgrade guide (iDoc). The source file is with the configuration guide and is imported into the upgrade guide.
The applicationContext.xml file for the Codar Console must be updated to be FIPS 140-2 compliant. Do the following:

  1. Open the CSA_HOME\jboss-as\
    standalone\deployments\csa.war\WEB-INF\applicationContext.xml
    CSA_HOME/jboss-as/
    standalone/deployments/csa.war/WEB-INF/applicationContext.xml
    file in a text editor. For example, edit the following file:

    C:\Program Files\Hewlett-Packard\CSA\jboss-as\
    standalone\deployments\csa.war\WEB-INF\applicationContext.xml
    /usr/local/hp/csa/jboss-as/standalone/
    deployments/csa.war/WEB-INF/applicationContext.xml

  2. Locate the START Standard Mode Configuration comment and comment out the following content that appears between the START Standard Mode Configuration and END Standard Mode Configuration comments:

    <bean id="simpleEncryptionConfiguration" class="com.hp.csa.security.CSASimplePBEConfig" init-method="init">
    </bean>

    <bean id="configurationEncryptor" class="org.jasypt.encryption.pbe.StandardPBEStringEncryptor">
      <property name="config" ref="simpleEncryptionConfiguration" />
    </bean>

    <bean id="propertyConfigurer" class="org.jasypt.spring.properties.
    EncryptablePropertyPlaceholderConfigurer">
      <constructor-arg ref="configurationEncryptor" />
      <property name="locations">
        <list>
          <value>classpath:csa.properties</value>
        </list>
      </property>
    </bean>

  3. Locate the START FIPS Mode Configuration comment and uncomment the following content that appears between the START FIPS Mode Configuration and END FIPS Mode Configuration comments:

    <bean id="configurationEncryptor" class="com.hp.csa.security.util.CSASecurityHelper" />

    <bean id="propertyConfigurer" class=
    "com.hp.csa.security.CSAEncryptablePropertyPlaceholderConfigurer">
      <constructor-arg ref="configurationEncryptor" />
      <property name="locations">
        <list>
          <value>classpath:csa.properties</value>
        </list>
      </property>
    </bean>

  4. Save and close the file.