api: Add ACL adapter for components.xml

Signed-off-by: Rohit Yadav <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/503082a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/503082a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/503082a4

Branch: refs/heads/api_refactoring
Commit: 503082a49e0218bac937687164fe4151d774c52e
Parents: 151a764
Author: Rohit Yadav <[email protected]>
Authored: Mon Dec 10 17:27:11 2012 -0800
Committer: Rohit Yadav <[email protected]>
Committed: Mon Dec 10 17:27:11 2012 -0800

----------------------------------------------------------------------
 client/tomcatconf/components.xml.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/503082a4/client/tomcatconf/components.xml.in
----------------------------------------------------------------------
diff --git a/client/tomcatconf/components.xml.in 
b/client/tomcatconf/components.xml.in
index 5957b61..990bf6a 100755
--- a/client/tomcatconf/components.xml.in
+++ b/client/tomcatconf/components.xml.in
@@ -53,6 +53,9 @@ under the License.
         <dao name="Configuration configuration server" 
class="com.cloud.configuration.dao.ConfigurationDaoImpl">
              <param name="premium">true</param>
         </dao>
+        <adapters key="com.cloud.acl.APIAccessChecker">
+            <adapter name="StaticRoleBasedAPIAccessChecker" 
class="com.cloud.acl.StaticRoleBasedAPIAccessChecker"/>
+        </adapters>
         <adapters key="com.cloud.agent.manager.allocator.HostAllocator">
             <adapter name="FirstFitRouting" 
class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator"/>
             <!--adapter name="FirstFitRouting" 
class="com.cloud.agent.manager.allocator.impl.RecreateHostAllocator"/-->

Reply via email to