| | |
| | |
|
| | | import java.util.Date;
|
| | |
|
| | | import com.google.inject.Inject;
|
| | | import com.google.inject.Singleton;
|
| | | import javax.servlet.http.HttpServletRequest;
|
| | |
|
| | | import org.apache.wicket.protocol.http.IWebApplicationFactory;
|
| | |
| | | * @author James Moger
|
| | | *
|
| | | */
|
| | | @Singleton
|
| | | public class GitblitWicketFilter extends WicketFilter {
|
| | |
|
| | | private final IStoredSettings settings;
|
| | | private IStoredSettings settings;
|
| | |
|
| | | private final IRuntimeManager runtimeManager;
|
| | | private IRuntimeManager runtimeManager;
|
| | |
|
| | | private final IRepositoryManager repositoryManager;
|
| | | private IRepositoryManager repositoryManager;
|
| | |
|
| | | private final IProjectManager projectManager;
|
| | | private IProjectManager projectManager;
|
| | |
|
| | | private final GitBlitWebApp webapp;
|
| | | private GitBlitWebApp webapp;
|
| | |
|
| | | public GitblitWicketFilter(GitBlitWebApp webapp) {
|
| | | @Inject
|
| | | public GitblitWicketFilter(
|
| | | IStoredSettings settings,
|
| | | IRuntimeManager runtimeManager,
|
| | | IRepositoryManager repositoryManager,
|
| | | IProjectManager projectManager,
|
| | | GitBlitWebApp webapp) {
|
| | |
|
| | | super();
|
| | | this.settings = webapp.settings();
|
| | | this.runtimeManager = webapp.runtime();
|
| | | this.repositoryManager = webapp.repositories();
|
| | | this.projectManager = webapp.projects();
|
| | | this.settings = settings;
|
| | | this.runtimeManager = runtimeManager;
|
| | | this.repositoryManager = repositoryManager;
|
| | | this.projectManager = projectManager;
|
| | | this.webapp = webapp;
|
| | | }
|
| | |
|