mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-09 23:15:49 +01:00
Move GitRepositoryServlet and BasicAuthenticationFilter to util package.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package app
|
||||
package util
|
||||
|
||||
import javax.servlet._
|
||||
import javax.servlet.http._
|
||||
@@ -1,11 +1,9 @@
|
||||
package app
|
||||
package util
|
||||
|
||||
import java.io._
|
||||
import javax.servlet._
|
||||
import javax.servlet.http._
|
||||
import util.Directory
|
||||
import org.eclipse.jgit.api.Git
|
||||
import org.eclipse.jgit.lib.Ref
|
||||
import org.eclipse.jgit.http.server.GitServlet
|
||||
import org.slf4j.LoggerFactory
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
<servlet>
|
||||
<servlet-name>GitRepositoryServlet</servlet-name>
|
||||
<servlet-class>app.GitRepositoryServlet</servlet-class>
|
||||
<servlet-class>util.GitRepositoryServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<filter>
|
||||
<filter-name>BasicAuthenticationFilter</filter-name>
|
||||
<filter-class>app.BasicAuthenticationFilter</filter-class>
|
||||
<filter-class>util.BasicAuthenticationFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
|
||||
Reference in New Issue
Block a user