...
A custom authentication filter is not needed. The behavior of the default HttpServlet HttpServletRequest class is inline with expectations, as it picks up the REMOTE_USER passed in the RequestHeader.
Changes in web.xml
The web.xml file is found at <Application-root>/WEB-INF/
The file contains references to a filter, DummyLoginFilter, which needs to be removed. The filter class configured is DevelopmentLoginFilter which helps in forwarding the user to the login page without any need for password for authentication.
The following lines are to be removed from web.xml
Code Block | ||||
---|---|---|---|---|
| ||||
<filter>
<filter-name>DummyLoginFilter</filter-name>
<filter-class>org.kuali.ole.sys.web.filter.DevelopmentLoginFilter</filter-class>
<init-param>
<param-name>loginUser</param-name>
<param-value>ole-quickstart</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>DummyLoginFilter</filter-name>
<servlet-name>action</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>DummyLoginFilter</filter-name>
<servlet-name>dwr-invoker</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>DummyLoginFilter</filter-name>
<servlet-name>batchFileUpload</servlet-name>
</filter-mapping> |