summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2008-05-13 06:48:05 +0000
committerMaria Odea B. Ching <oching@apache.org>2008-05-13 06:48:05 +0000
commitc86825783d2466503147be6ee59273a28c435ffa (patch)
tree0445c0ff78b4a1cc73ed55bdc2ad29542ba5ddca
parent7f9c76b0bb88191085f27333d27cccf7b831d63f (diff)
downloadarchiva-c86825783d2466503147be6ee59273a28c435ffa.tar.gz
archiva-c86825783d2466503147be6ee59273a28c435ffa.zip
remove variables that are no longer used in RepositoryServlet
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@655750 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java
index d33abbb9b..732b97bf1 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/repository/RepositoryServlet.java
@@ -26,8 +26,6 @@ import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.maven.archiva.webdav.*;
import org.apache.jackrabbit.webdav.server.AbstractWebdavServlet;
import org.apache.jackrabbit.webdav.*;
-import org.codehaus.plexus.redback.system.SecuritySystem;
-import org.codehaus.plexus.redback.xwork.filter.authentication.HttpAuthenticator;
import org.codehaus.plexus.spring.PlexusToSpringUtils;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
@@ -54,10 +52,6 @@ public class RepositoryServlet
{
private Logger log = LoggerFactory.getLogger(RepositoryServlet.class);
- private SecuritySystem securitySystem;
-
- private HttpAuthenticator httpAuth;
-
private ArchivaConfiguration configuration;
private Map<String, ManagedRepositoryConfiguration> repositoryMap;
@@ -142,10 +136,6 @@ public class RepositoryServlet
{
WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext( servletConfig.getServletContext() );
- securitySystem = (SecuritySystem) wac.getBean( PlexusToSpringUtils.buildSpringId( SecuritySystem.ROLE ) );
- httpAuth =
- (HttpAuthenticator) wac.getBean( PlexusToSpringUtils.buildSpringId( HttpAuthenticator.ROLE, "basic" ) );
-
configuration = (ArchivaConfiguration) wac.getBean(
PlexusToSpringUtils.buildSpringId( ArchivaConfiguration.class.getName() ) );
configuration.addListener( this );