mirror of https://github.com/apache/archiva.git
move to package o.a.a.r redback module redback-system
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
73f15c6bc7
commit
2ce3e9371f
|
@ -74,9 +74,9 @@ import org.apache.commons.lang.StringUtils;
|
|||
import org.apache.maven.index.context.IndexingContext;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.taskqueue.TaskQueueException;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
|
@ -29,9 +29,9 @@ import org.apache.archiva.redback.authorization.AuthorizationResult;
|
|||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.slf4j.Logger;
|
||||
|
|
|
@ -21,9 +21,9 @@ package org.apache.archiva.security;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.archiva.redback.system.check.EnvironmentCheck;
|
||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||
import org.apache.archiva.redback.rbac.RBACManager;
|
||||
import org.codehaus.plexus.redback.system.check.EnvironmentCheck;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -22,8 +22,8 @@ package org.apache.archiva.security;
|
|||
import java.util.Map;
|
||||
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystemConstants;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystemConstants;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
|
||||
/**
|
||||
|
|
|
@ -30,9 +30,9 @@ import org.apache.archiva.redback.authentication.AuthenticationResult;
|
|||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.role.RoleManager;
|
||||
import org.apache.archiva.redback.role.RoleManagerException;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.archiva.redback.authorization.AuthorizationException;
|
|||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
|
||||
/**
|
||||
* @version
|
||||
|
|
|
@ -31,7 +31,7 @@ import org.apache.commons.io.FileUtils;
|
|||
import org.apache.archiva.configuration.ArchivaConfiguration;
|
||||
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
|
||||
import org.apache.archiva.redback.rbac.UserAssignment;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.junit.Before;
|
||||
import org.junit.runner.RunWith;
|
||||
|
|
|
@ -25,8 +25,8 @@ import org.apache.archiva.security.common.ArchivaRoleConstants;
|
|||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.easymock.MockControl;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
http://www.springframework.org/schema/context/spring-context-3.0.xsd"
|
||||
default-lazy-init="true">
|
||||
|
||||
<bean name="securitySystem#testable" class="org.codehaus.plexus.redback.system.DefaultSecuritySystem">
|
||||
<bean name="securitySystem#testable" class="org.apache.archiva.redback.system.DefaultSecuritySystem">
|
||||
<property name="userManager" ref="userManager#memory"/>
|
||||
<property name="keyManager" ref="keyManager#memory"/>
|
||||
</bean>
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.apache.commons.lang.StringUtils;
|
|||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
|
@ -25,13 +25,13 @@ import org.apache.archiva.configuration.ConfigurationNames;
|
|||
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
|
||||
import org.apache.archiva.redback.rbac.RBACManager;
|
||||
import org.apache.archiva.redback.role.RoleManagerException;
|
||||
import org.apache.archiva.redback.system.check.EnvironmentCheck;
|
||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.archiva.redback.rbac.RbacManagerException;
|
||||
import org.apache.archiva.redback.rbac.UserAssignment;
|
||||
import org.apache.archiva.redback.role.RoleManager;
|
||||
import org.codehaus.plexus.redback.system.check.EnvironmentCheck;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.codehaus.plexus.registry.Registry;
|
||||
import org.codehaus.plexus.registry.RegistryListener;
|
||||
|
|
|
@ -32,9 +32,9 @@ import org.apache.archiva.redback.authentication.AuthenticationException;
|
|||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.redback.users.jdo.JdoUser;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
PLXREDBACK-81 bad role hint, redefining here until redback alpha-2 is released.
|
||||
|
||||
<component>
|
||||
<role>org.codehaus.plexus.redback.system.check.EnvironmentCheck</role>
|
||||
<role>org.apache.archiva.redback.system.check.EnvironmentCheck</role>
|
||||
<role-hint>locked-admin-check</role-hint>
|
||||
<implementation>org.codehaus.redback.integration.checks.security.LockedAdminEnvironmentCheck</implementation>
|
||||
<description>LockedAdminEnvironmentCheck: checks if accounts marked as system administrator are locked
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
PLXREDBACK-81 bad role hint, redefining here until redback alpha-2 is released.
|
||||
|
||||
<component>
|
||||
<role>org.codehaus.plexus.redback.system.check.EnvironmentCheck</role>
|
||||
<role>org.apache.archiva.redback.system.check.EnvironmentCheck</role>
|
||||
<role-hint>locked-admin-check</role-hint>
|
||||
<implementation>org.codehaus.redback.integration.checks.security.LockedAdminEnvironmentCheck</implementation>
|
||||
<description>LockedAdminEnvironmentCheck: checks if accounts marked as system administrator are locked
|
||||
|
|
|
@ -82,7 +82,7 @@ import org.apache.archiva.redback.authorization.AuthorizationException;
|
|||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
|
||||
|
|
|
@ -32,7 +32,7 @@ import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
|||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
|
||||
import javax.servlet.RequestDispatcher;
|
||||
|
|
|
@ -30,10 +30,10 @@ import org.apache.archiva.redback.authorization.AuthorizationException;
|
|||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.keys.memory.MemoryKeyManager;
|
||||
import org.apache.archiva.redback.policy.DefaultUserSecurityPolicy;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySystem;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySystem;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySystem;
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.apache.archiva.redback.users.memory.MemoryUserManager;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
|
@ -41,8 +41,8 @@ import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
|
|||
import org.apache.archiva.security.ServletAuthenticator;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.system.DefaultSecuritySession;
|
||||
import org.apache.archiva.redback.system.SecuritySession;
|
||||
import org.apache.archiva.redback.users.memory.SimpleUser;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
import org.codehaus.redback.integration.filter.authentication.basic.HttpBasicAuthentication;
|
||||
|
|
Loading…
Reference in New Issue