diff options
author | Olivier Lamy <olamy@apache.org> | 2011-09-03 08:15:36 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-09-03 08:15:36 +0000 |
commit | c7e5fea75ad6eb4c122584a5e48efc3dbd9a8417 (patch) | |
tree | cc49e5f464fcf251d8749286514a1653138fb30d /archiva-modules/archiva-web/archiva-security/src/test | |
parent | 0f94c8a025df07d3ce2bce26ea8f2e33aa986218 (diff) | |
download | archiva-c7e5fea75ad6eb4c122584a5e48efc3dbd9a8417.tar.gz archiva-c7e5fea75ad6eb4c122584a5e48efc3dbd9a8417.zip |
get RID of org.apache.maven.archiva packages : security package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-security/src/test')
-rw-r--r-- | archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java (renamed from archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/AbstractSecurityTest.java) | 2 | ||||
-rw-r--r-- | archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java (renamed from archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java) | 6 | ||||
-rw-r--r-- | archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/DefaultUserRepositoriesTest.java (renamed from archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.java) | 2 | ||||
-rw-r--r-- | archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/RoleManagerTest.java (renamed from archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/RoleManagerTest.java) | 2 | ||||
-rw-r--r-- | archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml | 4 |
5 files changed, 6 insertions, 10 deletions
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/AbstractSecurityTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java index 6308f075a..6f6fceac9 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/AbstractSecurityTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/AbstractSecurityTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.security; +package org.apache.archiva.security; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java index a24bb8228..e6ed541d1 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.security; +package org.apache.archiva.security; /* * Licensed to the Apache Software Foundation (ASF) under one @@ -19,12 +19,9 @@ package org.apache.maven.archiva.security; * under the License. */ -import com.google.common.collect.Lists; -import net.sf.ehcache.CacheManager; import org.codehaus.plexus.redback.authentication.AuthenticationException; import org.codehaus.plexus.redback.authentication.AuthenticationResult; import org.codehaus.plexus.redback.authorization.UnauthorizedException; -import org.codehaus.plexus.redback.rbac.UserAssignment; import org.codehaus.plexus.redback.system.DefaultSecuritySession; import org.codehaus.plexus.redback.system.SecuritySession; import org.codehaus.plexus.redback.users.User; @@ -36,7 +33,6 @@ import org.junit.Test; import javax.inject.Inject; import javax.inject.Named; import javax.servlet.http.HttpServletRequest; -import java.util.Arrays; /** * ArchivaServletAuthenticatorTest diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/DefaultUserRepositoriesTest.java index 4c9707500..9d2c0ce0b 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/DefaultUserRepositoriesTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.security; +package org.apache.archiva.security; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/RoleManagerTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/RoleManagerTest.java index f1b3894f8..8e0799faf 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/RoleManagerTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/RoleManagerTest.java @@ -1,4 +1,4 @@ -package org.apache.maven.archiva.security; +package org.apache.archiva.security; /* * Licensed to the Apache Software Foundation (ASF) under one diff --git a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml index 24723b149..e35856f2b 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml @@ -34,7 +34,7 @@ <alias name="securitySystem#testable" alias="securitySystem"/> - <bean name="userRepositories" class="org.apache.maven.archiva.security.DefaultUserRepositories"> + <bean name="userRepositories" class="org.apache.archiva.security.DefaultUserRepositories"> <property name="securitySystem" ref="securitySystem#testable"/> <property name="roleManager" ref="roleManager"/> <property name="archivaConfiguration" ref="archivaConfiguration"/> @@ -72,7 +72,7 @@ <alias name="roleTemplateProcessor" alias="roleTemplateProcessor#test"/> - <bean name="servletAuthenticator" class="org.apache.maven.archiva.security.ArchivaServletAuthenticator"> + <bean name="servletAuthenticator" class="org.apache.archiva.security.ArchivaServletAuthenticator"> <property name="securitySystem" ref="securitySystem#testable"/> </bean> |