Declare DoLoginServlet.
<servlet>
<servlet-name>DoLoginServlet</servlet-name>
<servlet-class>org.exoplatform.web.login.DoLoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DoLoginServlet</servlet-name>
<url-pattern>/dologin</url-pattern>
</servlet-mapping>
Delare portal servlet as the default servlet:
<servlet-mapping>
<servlet-name>portal</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
Some mapping declarations for portal servlet are unused,so you should remove them: /private/* /public/* /admin/* /upload/* /download/*
Add some security constraints.
<security-constraint>
<web-resource-collection>
<web-resource-name>user authentication</web-resource-name>
<url-pattern>/dologin</url-pattern>
<url-pattern>/standalone/*</url-pattern>
<url-pattern>/groups/*</url-pattern>
<url-pattern>/users/*</url-pattern>
...
</web-resource-collection>
</security-constraint>
You can remove the index.jsp
file, and its declaration in the web.xml
file thank to the default request handler:
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>