Request Attribute Source Overview

3.1.1 added a new Request Attribute Source filter. This was added to uportal-war/src/main/webapp/WEB-INF/web.xml

<filter>
        <filter-name>requestAttributeSourceFilter</filter-name>
        <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
    </filter>
<!-- snip -->
    <filter-mapping>
        <filter-name>requestAttributeSourceFilter</filter-name>
        <url-pattern>/Login</url-pattern>
    </filter-mapping>

This appears to be used to pass the server name to the personDirectory system. You need to add something like this to personDirectoryContext.xml.

    <!-- 
     | Servlet filter that creates an attribute for the serverName
     +-->
    <bean id="requestAttributeSourceFilter" class="org.jasig.services.persondir.support.web.RequestAttributeSourceFilter">
        <property name="additionalDescriptors" ref="requestAdditionalDescriptors" />
        <property name="serverNameAttribute" value="serverName" />
        <property name="processingPosition" value="BOTH" />
    </bean>

Note: Without the above section in personDirectoryContext.xml the portal will throw an exception related to the filter. If you do not need this feature just comment out the filter and flter-mapping in web.xml