mirror of https://github.com/apache/cloudstack.git
Adding SecurityChecker list for the ParamProcessWorker
This commit is contained in:
parent
897e0d3abe
commit
a509f94544
|
|
@ -102,7 +102,7 @@ public interface SecurityChecker extends Adapter {
|
|||
|
||||
/**
|
||||
* Checks if the account can access multiple objects.
|
||||
*
|
||||
*
|
||||
* @param caller
|
||||
* account to check against.
|
||||
* @param entities
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@
|
|||
|
||||
<bean id="dispatchChainFactory" class="com.cloud.api.dispatch.DispatchChainFactory" />
|
||||
|
||||
<bean id="paramProcessWorker" class="com.cloud.api.dispatch.ParamProcessWorker" />
|
||||
<bean id="paramProcessWorker" class="com.cloud.api.dispatch.ParamProcessWorker">
|
||||
<property name="secChecker" value="#{securityCheckersRegistry.registered}" />
|
||||
</bean>
|
||||
|
||||
<bean id="paramUnpackWorker" class="com.cloud.api.dispatch.ParamUnpackWorker" />
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ import org.apache.cloudstack.acl.SecurityChecker.AccessType;
|
|||
import org.apache.cloudstack.api.ACL;
|
||||
import org.apache.cloudstack.api.APICommand;
|
||||
import org.apache.cloudstack.api.ApiErrorCode;
|
||||
import org.apache.cloudstack.api.BaseAsyncCreateCmd;
|
||||
import org.apache.cloudstack.api.BaseCmd;
|
||||
import org.apache.cloudstack.api.EntityReference;
|
||||
import org.apache.cloudstack.api.InternalIdentity;
|
||||
|
|
@ -56,7 +55,6 @@ import org.apache.cloudstack.api.command.user.event.DeleteEventsCmd;
|
|||
import org.apache.cloudstack.api.command.user.event.ListEventsCmd;
|
||||
import org.apache.cloudstack.context.CallContext;
|
||||
|
||||
import com.cloud.configuration.ConfigurationManager;
|
||||
import com.cloud.dc.DataCenter;
|
||||
import com.cloud.exception.InvalidParameterValueException;
|
||||
import com.cloud.exception.PermissionDeniedException;
|
||||
|
|
|
|||
Loading…
Reference in New Issue