5.8.2 Setting Up Localhost for Risk Service

Ensure that the localhost interface address is appropriately mapped in/opt/novell/nam/idp/webapps/rba-core/WEB-INF/web.xml to each Identity Server.

Access Manager has a default setting that works for all default IPv4 and IPv6 localhost bindings. If your environment does not have the default settings, make the following changes in /opt/novell/nam/idp/webapps/rba-core/WEB-INF/web.xml using Advanced File Configurator.

For information about how to open and modify a file, see Modifying Configurations.

  1. Locate init-param with param-name allow as highlighted in the following snippet:

    <filter>
    <filter-name>Remote Address Filter</filter-name>
    <filter-class>org.apache.catalina.filters.RemoteAddrFilter</filter-class>
    <init-param>
    <param-name>allow</param-name>
    <param-value>127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>Remote Address Filter</filter-name>
    <url-pattern>/*</url-pattern>
    </filter-mapping>
  2. Replace param-value with a regular expression that matches your localhost interface address.

    The regular expression is a Java regular expression that uses the java.util.regex package. For more information about supported expressions, see the Java documentation.