package move to o.a.a.r module redback-authorization-api
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1310861 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9a415093c2
commit
9494bac7fa
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -19,11 +19,14 @@ package org.codehaus.plexus.redback.authorization;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.archiva.redback.authorization.AuthorizationDataSource;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
|
||||
/**
|
||||
* Authorizer:
|
||||
*
|
||||
* @author: Jesse McConnell <jesse@codehaus.org>
|
||||
* @version: $ID:$
|
||||
* @todo chain of command rule processing
|
||||
*/
|
||||
public interface Authorizer
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.codehaus.plexus.redback.authorization;
|
||||
package org.apache.archiva.redback.authorization;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -16,10 +16,10 @@ package org.codehaus.plexus.redback.authorization.open;
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationDataSource;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.authorization.Authorizer;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationDataSource;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.Authorizer;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.codehaus.redback.integration.filter.authorization;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.util.StringUtils;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.codehaus.redback.integration.taglib.jsp;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystemConstants;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.codehaus.redback.integration.taglib.jsp;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystemConstants;
|
||||
|
|
|
@ -19,8 +19,7 @@ package org.codehaus.redback.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.apache.cxf.jaxrs.model.wadl.Description;
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.redback.rest.api.model.User;
|
||||
|
||||
import javax.ws.rs.GET;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.codehaus.redback.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.redback.rest.api.model.User;
|
||||
|
||||
import javax.ws.rs.GET;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.codehaus.redback.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.redback.integration.security.role.RedbackRoleConstants;
|
||||
import org.codehaus.redback.rest.api.model.Application;
|
||||
import org.codehaus.redback.rest.api.model.ApplicationRoles;
|
||||
|
|
|
@ -19,7 +19,7 @@ package org.codehaus.redback.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.redback.integration.security.role.RedbackRoleConstants;
|
||||
import org.codehaus.redback.rest.api.model.Operation;
|
||||
import org.codehaus.redback.rest.api.model.Permission;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.codehaus.redback.rest.api.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.Path;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.codehaus.redback.rest.services.interceptors;
|
|||
|
||||
import org.apache.cxf.jaxrs.model.OperationResourceInfo;
|
||||
import org.apache.cxf.message.Message;
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.cxf.jaxrs.model.ClassResourceInfo;
|
|||
import org.apache.cxf.message.Message;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
|
|
|
@ -24,8 +24,8 @@ import org.apache.cxf.jaxrs.ext.RequestHandler;
|
|||
import org.apache.cxf.jaxrs.model.ClassResourceInfo;
|
||||
import org.apache.cxf.message.Message;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.codehaus.redback.integration.filter.authentication.basic.HttpBasicAuthentication;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.codehaus.redback.rest.services;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.RedbackAuthorization;
|
||||
import org.apache.archiva.redback.authorization.RedbackAuthorization;
|
||||
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.Path;
|
||||
|
|
|
@ -26,7 +26,7 @@ import com.opensymphony.xwork2.ActionInvocation;
|
|||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.commons.lang.SystemUtils;
|
||||
import org.apache.struts2.ServletActionContext;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.system.SecuritySession;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystem;
|
||||
import org.codehaus.plexus.redback.system.SecuritySystemConstants;
|
||||
|
|
|
@ -24,7 +24,7 @@ import com.opensymphony.xwork2.Action;
|
|||
import com.opensymphony.xwork2.ActionProxy;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
import org.codehaus.plexus.redback.rbac.RbacManagerException;
|
||||
|
|
|
@ -20,11 +20,11 @@ package org.codehaus.plexus.redback.authorization.rbac;
|
|||
*/
|
||||
|
||||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationDataSource;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.authorization.Authorizer;
|
||||
import org.codehaus.plexus.redback.authorization.NotAuthorizedException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationDataSource;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.Authorizer;
|
||||
import org.apache.archiva.redback.authorization.NotAuthorizedException;
|
||||
import org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluationException;
|
||||
import org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluator;
|
||||
import org.codehaus.plexus.redback.rbac.Permission;
|
||||
|
|
|
@ -19,10 +19,10 @@ package org.codehaus.plexus.redback.rbac.memory;
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationDataSource;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.authorization.Authorizer;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationDataSource;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.Authorizer;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
|
|
|
@ -26,10 +26,10 @@ import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
|||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationManager;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationResult;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationDataSource;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.authorization.Authorizer;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationDataSource;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.Authorizer;
|
||||
import org.codehaus.plexus.redback.keys.KeyManager;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
|
|
|
@ -22,8 +22,8 @@ package org.codehaus.plexus.redback.system;
|
|||
import org.apache.archiva.redback.users.UserNotFoundException;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
|
||||
import org.apache.archiva.redback.authentication.AuthenticationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationException;
|
||||
import org.codehaus.plexus.redback.authorization.AuthorizationResult;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationException;
|
||||
import org.apache.archiva.redback.authorization.AuthorizationResult;
|
||||
import org.codehaus.plexus.redback.keys.KeyManager;
|
||||
import org.codehaus.plexus.redback.policy.AccountLockedException;
|
||||
import org.codehaus.plexus.redback.policy.MustChangePasswordException;
|
||||
|
|
Loading…
Reference in New Issue