mirror of https://github.com/apache/archiva.git
move to package o.a.a.r redback module redback-policy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1310896 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0048b85f5d
commit
b146216520
|
@ -27,8 +27,8 @@ import org.apache.archiva.redback.authentication.AuthenticationResult;
|
|||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
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;
|
||||
|
|
|
@ -25,8 +25,8 @@ 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.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
|
||||
/**
|
||||
|
|
|
@ -25,6 +25,8 @@ import com.sun.syndication.io.SyndFeedOutput;
|
|||
import org.apache.archiva.metadata.repository.RepositorySession;
|
||||
import org.apache.archiva.metadata.repository.RepositorySessionFactory;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.apache.archiva.rss.processor.RssFeedProcessor;
|
||||
|
@ -41,8 +43,6 @@ 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.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
import org.slf4j.Logger;
|
||||
|
|
|
@ -20,6 +20,8 @@ package org.apache.archiva.web.rss;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.redback.keys.KeyManager;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.UserSecurityPolicy;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.apache.archiva.redback.users.UserManagerListener;
|
||||
|
@ -30,8 +32,6 @@ 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.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.UserSecurityPolicy;
|
||||
import org.codehaus.plexus.redback.system.DefaultSecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
|
|
|
@ -283,7 +283,7 @@
|
|||
in the security.properties
|
||||
-->
|
||||
<!--
|
||||
<bean name="userSecurityPolicy" class="org.codehaus.plexus.redback.policy.DefaultUserSecurityPolicy">
|
||||
<bean name="userSecurityPolicy" class="org.apache.archiva.redback.policy.DefaultUserSecurityPolicy">
|
||||
<property name="config" ref="userConfiguration"/>
|
||||
<property name="passwordEncoder" ref="passwordEncoder#sha1"/>
|
||||
<property name="userValidationSettings" ref="userValidationSettings"/>
|
||||
|
|
|
@ -304,7 +304,7 @@
|
|||
in the security.properties
|
||||
-->
|
||||
<!--
|
||||
<bean name="userSecurityPolicy" class="org.codehaus.plexus.redback.policy.DefaultUserSecurityPolicy">
|
||||
<bean name="userSecurityPolicy" class="org.apache.archiva.redback.policy.DefaultUserSecurityPolicy">
|
||||
<property name="config" ref="userConfiguration"/>
|
||||
<property name="passwordEncoder" ref="passwordEncoder#sha1"/>
|
||||
<property name="userValidationSettings" ref="userValidationSettings"/>
|
||||
|
|
|
@ -80,8 +80,8 @@ 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.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
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.users.User;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
|
|
|
@ -29,8 +29,8 @@ import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
|||
import org.apache.archiva.webdav.util.WebdavMethodUtil;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.apache.archiva.redback.authorization.UnauthorizedException;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ package org.apache.archiva.webdav;
|
|||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.MustChangePasswordException;
|
||||
import org.apache.archiva.redback.users.User;
|
||||
import org.apache.jackrabbit.webdav.DavSessionProvider;
|
||||
import org.apache.jackrabbit.webdav.WebdavRequest;
|
||||
|
@ -30,8 +32,6 @@ 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.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
|
||||
|
||||
|
|
|
@ -21,15 +21,15 @@ package org.apache.archiva.webdav;
|
|||
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.keys.KeyManager;
|
||||
import org.apache.archiva.redback.policy.AccountLockedException;
|
||||
import org.apache.archiva.redback.policy.UserSecurityPolicy;
|
||||
import org.apache.archiva.redback.users.UserManager;
|
||||
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.AuthorizationResult;
|
||||
import org.apache.archiva.redback.keys.memory.MemoryKeyManager;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.DefaultUserSecurityPolicy;
|
||||
import org.codehaus.plexus.redback.policy.UserSecurityPolicy;
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue