]> source.dussan.org Git - archiva.git/blob
5356abb87f568871659d0b464dbb964b53727f23
[archiva.git] /
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3   ~ Licensed to the Apache Software Foundation (ASF) under one
4   ~ or more contributor license agreements.  See the NOTICE file
5   ~ distributed with this work for additional information
6   ~ regarding copyright ownership.  The ASF licenses this file
7   ~ to you under the Apache License, Version 2.0 (the
8   ~ "License"); you may not use this file except in compliance
9   ~ with the License.  You may obtain a copy of the License at
10   ~
11   ~  http://www.apache.org/licenses/LICENSE-2.0
12   ~
13   ~ Unless required by applicable law or agreed to in writing,
14   ~ software distributed under the License is distributed on an
15   ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16   ~ KIND, either express or implied.  See the License for the
17   ~ specific language governing permissions and limitations
18   ~ under the License.
19   -->
20
21 <plexus>
22   <components>
23     <!--
24      | Logger manager
25      -->
26     <component>
27       <role>org.codehaus.plexus.logging.LoggerManager</role>
28       <implementation>org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager</implementation>
29       <lifecycle-handler>basic</lifecycle-handler>
30     </component>
31
32     <component>
33       <role>org.codehaus.plexus.webdav.DavServerManager</role>
34       <role-hint>default</role-hint>
35       <implementation>org.codehaus.plexus.webdav.DefaultDavServerManager</implementation>
36       <configuration>
37         <provider-hint>proxied</provider-hint>
38       </configuration>
39     </component>
40
41     <!-- Don't drag in the world just to test this -->
42     <component>
43       <role>org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers</role>
44       <role-hint>default</role-hint>
45       <implementation>org.apache.maven.archiva.web.repository.StubRepositoryContentConsumers</implementation>
46     </component>
47
48     <!-- TODO: shouldn't need so many components just to use in-memory - is flaky since these are auto-generated -->
49     <component>
50       <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
51       <role-hint>default</role-hint>
52       <implementation>org.codehaus.plexus.redback.system.DefaultSecuritySystem</implementation>
53       <requirements>
54         <requirement>
55           <role>org.codehaus.plexus.redback.authentication.AuthenticationManager</role>
56           <field-name>authnManager</field-name>
57         </requirement>
58         <requirement>
59           <role>org.codehaus.plexus.redback.authorization.Authorizer</role>
60           <role-hint>rbac</role-hint>
61           <field-name>authorizer</field-name>
62         </requirement>
63         <requirement>
64           <role>org.codehaus.plexus.redback.users.UserManager</role>
65           <role-hint>memory</role-hint>
66           <field-name>userManager</field-name>
67         </requirement>
68         <requirement>
69           <role>org.codehaus.plexus.redback.keys.KeyManager</role>
70           <role-hint>memory</role-hint>
71           <field-name>keyManager</field-name>
72         </requirement>
73         <requirement>
74           <role>org.codehaus.plexus.redback.policy.UserSecurityPolicy</role>
75           <field-name>policy</field-name>
76         </requirement>
77       </requirements>
78     </component>
79
80     <component>
81       <role>org.codehaus.plexus.redback.authentication.Authenticator</role>
82       <role-hint>user-manager</role-hint>
83       <implementation>org.codehaus.plexus.redback.authentication.users.UserManagerAuthenticator</implementation>
84       <requirements>
85         <requirement>
86           <role>org.codehaus.plexus.redback.users.UserManager</role>
87           <role-hint>memory</role-hint>
88           <field-name>userManager</field-name>
89         </requirement>
90         <requirement>
91           <role>org.codehaus.plexus.redback.policy.UserSecurityPolicy</role>
92           <field-name>securityPolicy</field-name>
93         </requirement>
94       </requirements>
95     </component>
96
97     <component>
98       <role>org.codehaus.plexus.redback.authentication.Authenticator</role>
99       <role-hint>keystore</role-hint>
100       <implementation>org.codehaus.plexus.redback.authentication.keystore.KeyStoreAuthenticator</implementation>
101       <requirements>
102         <requirement>
103           <role>org.codehaus.plexus.redback.keys.KeyManager</role>
104           <role-hint>memory</role-hint>
105           <field-name>keystore</field-name>
106         </requirement>
107         <requirement>
108           <role>org.codehaus.plexus.redback.users.UserManager</role>
109           <role-hint>memory</role-hint>
110           <field-name>userManager</field-name>
111         </requirement>
112       </requirements>
113     </component>
114
115     <component>
116       <role>org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluator</role>
117       <role-hint>default</role-hint>
118       <implementation>org.codehaus.plexus.redback.authorization.rbac.evaluator.DefaultPermissionEvaluator
119       </implementation>
120       <requirements>
121         <requirement>
122           <role>org.codehaus.plexus.redback.users.UserManager</role>
123           <role-hint>memory</role-hint>
124           <field-name>userManager</field-name>
125         </requirement>
126       </requirements>
127     </component>
128
129     <component>
130       <role>org.codehaus.plexus.redback.authorization.Authorizer</role>
131       <role-hint>rbac</role-hint>
132       <implementation>org.codehaus.plexus.redback.authorization.rbac.RbacAuthorizer</implementation>
133       <requirements>
134         <requirement>
135           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
136           <role-hint>memory</role-hint>
137           <field-name>manager</field-name>
138         </requirement>
139         <requirement>
140           <role>org.codehaus.plexus.redback.users.UserManager</role>
141           <role-hint>memory</role-hint>
142           <field-name>userManager</field-name>
143         </requirement>
144         <requirement>
145           <role>org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluator</role>
146           <role-hint>default</role-hint>
147           <field-name>evaluator</field-name>
148         </requirement>
149       </requirements>
150     </component>
151
152     <component>
153       <role>org.codehaus.plexus.redback.role.RoleManager</role>
154       <role-hint>default</role-hint>
155       <implementation>org.codehaus.plexus.redback.role.DefaultRoleManager</implementation>
156       <instantiation-strategy>singleton</instantiation-strategy>
157       <requirements>
158         <requirement>
159           <role>org.codehaus.plexus.redback.role.merger.RoleModelMerger</role>
160           <role-hint>default</role-hint>
161           <field-name>modelMerger</field-name>
162         </requirement>
163         <requirement>
164           <role>org.codehaus.plexus.redback.role.validator.RoleModelValidator</role>
165           <role-hint>default</role-hint>
166           <field-name>modelValidator</field-name>
167         </requirement>
168         <requirement>
169           <role>org.codehaus.plexus.redback.role.processor.RoleModelProcessor</role>
170           <role-hint>default</role-hint>
171           <field-name>modelProcessor</field-name>
172         </requirement>
173         <requirement>
174           <role>org.codehaus.plexus.redback.role.template.RoleTemplateProcessor</role>
175           <role-hint>default</role-hint>
176           <field-name>templateProcessor</field-name>
177         </requirement>
178         <requirement>
179           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
180           <role-hint>memory</role-hint>
181           <field-name>rbacManager</field-name>
182         </requirement>
183         <requirement>
184           <role>org.codehaus.plexus.PlexusContainer</role>
185           <field-name>container</field-name>
186         </requirement>
187       </requirements>
188     </component>
189
190     <component>
191       <role>org.codehaus.plexus.redback.role.processor.RoleModelProcessor</role>
192       <role-hint>default</role-hint>
193       <implementation>org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor</implementation>
194       <requirements>
195         <requirement>
196           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
197           <role-hint>memory</role-hint>
198           <field-name>rbacManager</field-name>
199         </requirement>
200       </requirements>
201     </component>
202
203     <component>
204       <role>org.codehaus.plexus.redback.role.template.RoleTemplateProcessor</role>
205       <role-hint>default</role-hint>
206       <implementation>org.codehaus.plexus.redback.role.template.DefaultRoleTemplateProcessor</implementation>
207       <requirements>
208         <requirement>
209           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
210           <role-hint>memory</role-hint>
211           <field-name>rbacManager</field-name>
212         </requirement>
213       </requirements>
214     </component>
215   </components>
216 </plexus>