|
@@ -55,68 +55,38 @@
|
|
<filter-class>org.lastaflute.web.servlet.filter.LastaToActionFilter</filter-class>
|
|
<filter-class>org.lastaflute.web.servlet.filter.LastaToActionFilter</filter-class>
|
|
</filter>
|
|
</filter>
|
|
|
|
|
|
- <!-- SPNEGO -->
|
|
|
|
- <!--
|
|
|
|
<filter>
|
|
<filter>
|
|
- <filter-name>SpnegoHttpFilter</filter-name>
|
|
|
|
- <filter-class>net.sourceforge.spnego.SpnegoHttpFilter</filter-class>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.allow.basic</param-name>
|
|
|
|
- <param-value>false</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.allow.localhost</param-name>
|
|
|
|
- <param-value>true</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.allow.unsecure.basic</param-name>
|
|
|
|
- <param-value>false</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.login.client.module</param-name>
|
|
|
|
- <param-value>spnego-client</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.krb5.conf</param-name>
|
|
|
|
- <param-value>krb5.conf</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.login.conf</param-name>
|
|
|
|
- <param-value>login.conf</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.preauth.username</param-name>
|
|
|
|
- <param-value>knldguser</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.preauth.password</param-name>
|
|
|
|
- <param-value>zaq12wsx</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.login.server.module</param-name>
|
|
|
|
- <param-value>spnego-server</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.prompt.ntlm</param-name>
|
|
|
|
- <param-value>false</param-value>
|
|
|
|
- </init-param>
|
|
|
|
-
|
|
|
|
- <init-param>
|
|
|
|
- <param-name>spnego.logger.level</param-name>
|
|
|
|
- <param-value>1</param-value>
|
|
|
|
- </init-param>
|
|
|
|
|
|
+ <filter-name>spnegoFilter</filter-name>
|
|
|
|
+ <filter-class>org.codelibs.fess.filter.SpnegoFilter</filter-class>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.allow.basic</param-name>
|
|
|
|
+ <param-value>true</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.allow.localhost</param-name>
|
|
|
|
+ <param-value>true</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.allow.unsecure.basic</param-name>
|
|
|
|
+ <param-value>true</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.login.client.module</param-name>
|
|
|
|
+ <param-value>spnego-client</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.login.server.module</param-name>
|
|
|
|
+ <param-value>spnego-server</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.prompt.ntlm</param-name>
|
|
|
|
+ <param-value>true</param-value>
|
|
|
|
+ </init-param>
|
|
|
|
+ <init-param>
|
|
|
|
+ <param-name>spnego.logger.level</param-name>
|
|
|
|
+ <param-value>0</param-value>
|
|
|
|
+ </init-param>
|
|
</filter>
|
|
</filter>
|
|
--->
|
|
|
|
|
|
|
|
<!-- ================================================================================= -->
|
|
<!-- ================================================================================= -->
|
|
<!-- Filter Mapping -->
|
|
<!-- Filter Mapping -->
|
|
@@ -137,29 +107,28 @@
|
|
</filter-mapping>
|
|
</filter-mapping>
|
|
|
|
|
|
<filter-mapping>
|
|
<filter-mapping>
|
|
- <filter-name>webApiFilter</filter-name>
|
|
|
|
|
|
+ <filter-name>spnegoFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<url-pattern>/*</url-pattern>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
</filter-mapping>
|
|
</filter-mapping>
|
|
|
|
|
|
<filter-mapping>
|
|
<filter-mapping>
|
|
- <filter-name>lastaShowbaseFilter</filter-name>
|
|
|
|
|
|
+ <filter-name>webApiFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<url-pattern>/*</url-pattern>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
</filter-mapping>
|
|
</filter-mapping>
|
|
|
|
|
|
<filter-mapping>
|
|
<filter-mapping>
|
|
- <filter-name>lastaToActionFilter</filter-name>
|
|
|
|
|
|
+ <filter-name>lastaShowbaseFilter</filter-name>
|
|
<url-pattern>/*</url-pattern>
|
|
<url-pattern>/*</url-pattern>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
<dispatcher>REQUEST</dispatcher>
|
|
</filter-mapping>
|
|
</filter-mapping>
|
|
|
|
|
|
- <!--
|
|
|
|
<filter-mapping>
|
|
<filter-mapping>
|
|
- <filter-name>SpnegoHttpFilter</filter-name>
|
|
|
|
- <url-pattern>/*</url-pattern>
|
|
|
|
|
|
+ <filter-name>lastaToActionFilter</filter-name>
|
|
|
|
+ <url-pattern>/*</url-pattern>
|
|
|
|
+ <dispatcher>REQUEST</dispatcher>
|
|
</filter-mapping>
|
|
</filter-mapping>
|
|
--->
|
|
|
|
|
|
|
|
<!-- ================================================================================= -->
|
|
<!-- ================================================================================= -->
|
|
<!-- Servlet -->
|
|
<!-- Servlet -->
|
|
@@ -173,7 +142,7 @@
|
|
<!-- Servlet Listener -->
|
|
<!-- Servlet Listener -->
|
|
<!-- ================ -->
|
|
<!-- ================ -->
|
|
<listener>
|
|
<listener>
|
|
- <listener-class>org.apache.commons.fileupload.servlet.FileCleanerCleanup</listener-class>
|
|
|
|
|
|
+ <listener-class>org.apache.commons.fileupload.servlet.FileCleanerCleanup</listener-class>
|
|
</listener>
|
|
</listener>
|
|
|
|
|
|
<!-- ================================================================================= -->
|
|
<!-- ================================================================================= -->
|
|
@@ -183,7 +152,7 @@
|
|
<session-config>
|
|
<session-config>
|
|
<session-timeout>1</session-timeout>
|
|
<session-timeout>1</session-timeout>
|
|
</session-config>
|
|
</session-config>
|
|
- -->
|
|
|
|
|
|
+ -->
|
|
|
|
|
|
<!-- ================================================================================= -->
|
|
<!-- ================================================================================= -->
|
|
<!-- Welcome File -->
|
|
<!-- Welcome File -->
|
|
@@ -191,7 +160,7 @@
|
|
<!--
|
|
<!--
|
|
<welcome-file-list>
|
|
<welcome-file-list>
|
|
</welcome-file-list>
|
|
</welcome-file-list>
|
|
- -->
|
|
|
|
|
|
+ -->
|
|
|
|
|
|
<!-- ================================================================================= -->
|
|
<!-- ================================================================================= -->
|
|
<!-- JSP Config -->
|
|
<!-- JSP Config -->
|
|
@@ -210,23 +179,27 @@
|
|
<!-- Error Page -->
|
|
<!-- Error Page -->
|
|
<!-- ========== -->
|
|
<!-- ========== -->
|
|
<error-page>
|
|
<error-page>
|
|
- <error-code>400</error-code>
|
|
|
|
- <location>/WEB-INF/view/error/redirect.jsp?type=badRequest</location>
|
|
|
|
|
|
+ <error-code>400</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=badRequest</location>
|
|
|
|
+ </error-page>
|
|
|
|
+ <error-page>
|
|
|
|
+ <error-code>401</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=badAuth</location>
|
|
</error-page>
|
|
</error-page>
|
|
<error-page>
|
|
<error-page>
|
|
- <error-code>403</error-code>
|
|
|
|
- <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
|
|
|
|
|
|
+ <error-code>403</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
|
|
</error-page>
|
|
</error-page>
|
|
<error-page>
|
|
<error-page>
|
|
- <error-code>404</error-code>
|
|
|
|
- <location>/WEB-INF/view/error/redirect.jsp?type=notFound</location>
|
|
|
|
|
|
+ <error-code>404</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=notFound</location>
|
|
</error-page>
|
|
</error-page>
|
|
<error-page>
|
|
<error-page>
|
|
- <error-code>408</error-code>
|
|
|
|
- <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
|
|
|
|
|
|
+ <error-code>408</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=logOut</location>
|
|
</error-page>
|
|
</error-page>
|
|
<error-page>
|
|
<error-page>
|
|
- <error-code>500</error-code>
|
|
|
|
- <location>/WEB-INF/view/error/redirect.jsp?type=systemError</location>
|
|
|
|
|
|
+ <error-code>500</error-code>
|
|
|
|
+ <location>/WEB-INF/view/error/redirect.jsp?type=systemError</location>
|
|
</error-page>
|
|
</error-page>
|
|
</web-app>
|
|
</web-app>
|