mirror of https://github.com/apache/archiva.git
move to package o.a.a.r redback module redback-authentication-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ede2ce818a
commit
9780539136
|
@ -72,7 +72,7 @@ import org.apache.commons.io.FilenameUtils;
|
||||||
import org.apache.commons.io.IOUtils;
|
import org.apache.commons.io.IOUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.apache.maven.index.context.IndexingContext;
|
import org.apache.maven.index.context.IndexingContext;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||||
|
|
|
@ -22,8 +22,8 @@ package org.apache.archiva.security;
|
||||||
import javax.inject.Inject;
|
import javax.inject.Inject;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
|
|
|
@ -26,7 +26,7 @@ import org.apache.archiva.admin.model.managed.ManagedRepositoryAdmin;
|
||||||
import org.apache.archiva.redback.users.User;
|
import org.apache.archiva.redback.users.User;
|
||||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.role.RoleManager;
|
import org.codehaus.plexus.redback.role.RoleManager;
|
||||||
import org.codehaus.plexus.redback.role.RoleManagerException;
|
import org.codehaus.plexus.redback.role.RoleManagerException;
|
||||||
|
|
|
@ -21,8 +21,8 @@ package org.apache.archiva.security;
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||||
|
|
|
@ -22,8 +22,8 @@ package org.apache.archiva.security;
|
||||||
import org.apache.archiva.redback.users.User;
|
import org.apache.archiva.redback.users.User;
|
||||||
import org.apache.archiva.redback.users.UserManager;
|
import org.apache.archiva.redback.users.UserManager;
|
||||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||||
|
|
|
@ -24,6 +24,7 @@ import com.sun.syndication.io.FeedException;
|
||||||
import com.sun.syndication.io.SyndFeedOutput;
|
import com.sun.syndication.io.SyndFeedOutput;
|
||||||
import org.apache.archiva.metadata.repository.RepositorySession;
|
import org.apache.archiva.metadata.repository.RepositorySession;
|
||||||
import org.apache.archiva.metadata.repository.RepositorySessionFactory;
|
import org.apache.archiva.metadata.repository.RepositorySessionFactory;
|
||||||
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.apache.archiva.redback.users.UserManager;
|
import org.apache.archiva.redback.users.UserManager;
|
||||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||||
import org.apache.archiva.rss.processor.RssFeedProcessor;
|
import org.apache.archiva.rss.processor.RssFeedProcessor;
|
||||||
|
@ -37,8 +38,7 @@ import org.apache.commons.codec.Decoder;
|
||||||
import org.apache.commons.codec.DecoderException;
|
import org.apache.commons.codec.DecoderException;
|
||||||
import org.apache.commons.codec.binary.Base64;
|
import org.apache.commons.codec.binary.Base64;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||||
|
|
|
@ -24,9 +24,9 @@ import org.apache.archiva.redback.users.UserManager;
|
||||||
import org.apache.archiva.redback.users.UserManagerListener;
|
import org.apache.archiva.redback.users.UserManagerListener;
|
||||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||||
import org.apache.archiva.redback.users.UserQuery;
|
import org.apache.archiva.redback.users.UserQuery;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationDataSource;
|
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||||
import org.codehaus.plexus.redback.keys.KeyManager;
|
import org.codehaus.plexus.redback.keys.KeyManager;
|
||||||
|
|
|
@ -76,8 +76,8 @@ import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
|
||||||
import org.codehaus.plexus.digest.ChecksumFile;
|
import org.codehaus.plexus.digest.ChecksumFile;
|
||||||
import org.codehaus.plexus.digest.Digester;
|
import org.codehaus.plexus.digest.Digester;
|
||||||
import org.codehaus.plexus.digest.DigesterException;
|
import org.codehaus.plexus.digest.DigesterException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||||
|
|
|
@ -19,6 +19,7 @@ package org.apache.archiva.webdav;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.apache.archiva.security.ServletAuthenticator;
|
import org.apache.archiva.security.ServletAuthenticator;
|
||||||
import org.apache.jackrabbit.webdav.DavException;
|
import org.apache.jackrabbit.webdav.DavException;
|
||||||
import org.apache.jackrabbit.webdav.DavServletRequest;
|
import org.apache.jackrabbit.webdav.DavServletRequest;
|
||||||
|
@ -26,8 +27,7 @@ import org.apache.jackrabbit.webdav.DavSessionProvider;
|
||||||
import org.apache.jackrabbit.webdav.WebdavRequest;
|
import org.apache.jackrabbit.webdav.WebdavRequest;
|
||||||
import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
||||||
import org.apache.archiva.webdav.util.WebdavMethodUtil;
|
import org.apache.archiva.webdav.util.WebdavMethodUtil;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||||
|
|
|
@ -20,14 +20,14 @@ package org.apache.archiva.webdav;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.apache.archiva.redback.users.User;
|
import org.apache.archiva.redback.users.User;
|
||||||
import org.apache.jackrabbit.webdav.DavSessionProvider;
|
import org.apache.jackrabbit.webdav.DavSessionProvider;
|
||||||
import org.apache.jackrabbit.webdav.WebdavRequest;
|
import org.apache.jackrabbit.webdav.WebdavRequest;
|
||||||
import org.apache.jackrabbit.webdav.WebdavRequestImpl;
|
import org.apache.jackrabbit.webdav.WebdavRequestImpl;
|
||||||
import org.apache.archiva.security.ServletAuthenticator;
|
import org.apache.archiva.security.ServletAuthenticator;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationDataSource;
|
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||||
|
|
|
@ -19,10 +19,10 @@ package org.apache.archiva.webdav;
|
||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.apache.archiva.redback.users.UserManager;
|
import org.apache.archiva.redback.users.UserManager;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationDataSource;
|
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||||
import org.codehaus.plexus.redback.keys.KeyManager;
|
import org.codehaus.plexus.redback.keys.KeyManager;
|
||||||
|
|
|
@ -29,6 +29,7 @@ import com.meterware.servletunit.ServletRunner;
|
||||||
import com.meterware.servletunit.ServletUnitClient;
|
import com.meterware.servletunit.ServletUnitClient;
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
import net.sf.ehcache.CacheManager;
|
import net.sf.ehcache.CacheManager;
|
||||||
|
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||||
import org.apache.archiva.redback.users.User;
|
import org.apache.archiva.redback.users.User;
|
||||||
import org.apache.archiva.repository.audit.TestAuditListener;
|
import org.apache.archiva.repository.audit.TestAuditListener;
|
||||||
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
import org.apache.archiva.security.common.ArchivaRoleConstants;
|
||||||
|
@ -38,8 +39,7 @@ import org.apache.archiva.configuration.ArchivaConfiguration;
|
||||||
import org.apache.archiva.configuration.Configuration;
|
import org.apache.archiva.configuration.Configuration;
|
||||||
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
|
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
|
||||||
import org.apache.archiva.security.ServletAuthenticator;
|
import org.apache.archiva.security.ServletAuthenticator;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
|
||||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
||||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||||
|
|
Loading…
Reference in New Issue