]> source.dussan.org Git - archiva.git/blob
8d43cac8d769b2d7cb7bd729be2bac133b04c709
[archiva.git] /
1 <?xml version="1.0" ?>
2 <component-set>
3   <components>
4   
5     <component>
6       <role>org.apache.maven.archiva.security.UserRepositories</role>
7       <role-hint>default</role-hint>
8       <implementation>org.apache.maven.archiva.security.DefaultUserRepositories</implementation>
9       <description>DefaultUserRepositories</description>
10       <requirements>
11         <requirement>
12           <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
13           <role-hint>testable</role-hint>
14           <field-name>securitySystem</field-name>
15         </requirement>
16         <requirement>
17           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
18           <role-hint>memory</role-hint>
19           <field-name>rbacManager</field-name>
20         </requirement>
21         <requirement>
22           <role>org.codehaus.plexus.redback.role.RoleManager</role>
23           <role-hint>default</role-hint>
24           <field-name>roleManager</field-name>
25         </requirement>
26         <requirement>
27           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
28           <field-name>archivaConfiguration</field-name>
29         </requirement>
30       </requirements>
31     </component>
32     
33     <component>
34       <role>org.codehaus.plexus.redback.system.SecuritySystem</role>
35       <role-hint>testable</role-hint>
36       <implementation>org.codehaus.plexus.redback.system.DefaultSecuritySystem</implementation>
37       <description>DefaultSecuritySystem:</description>
38       <requirements>
39         <requirement>
40           <role>org.codehaus.plexus.redback.authentication.AuthenticationManager</role>
41           <field-name>authnManager</field-name>
42         </requirement>
43         <requirement>
44           <role>org.codehaus.plexus.redback.authorization.Authorizer</role>
45           <role-hint>rbac</role-hint>
46           <field-name>authorizer</field-name>
47         </requirement>
48         <requirement>
49           <role>org.codehaus.plexus.redback.users.UserManager</role>
50           <role-hint>memory</role-hint>
51           <field-name>userManager</field-name>
52         </requirement>
53         <requirement>
54           <role>org.codehaus.plexus.redback.keys.KeyManager</role>
55           <role-hint>memory</role-hint>
56           <field-name>keyManager</field-name>
57         </requirement>
58         <requirement>
59           <role>org.codehaus.plexus.redback.policy.UserSecurityPolicy</role>
60           <field-name>policy</field-name>
61         </requirement>
62       </requirements>
63     </component>
64     
65     <component>
66       <role>org.codehaus.plexus.redback.authorization.Authorizer</role>
67       <role-hint>rbac</role-hint>
68       <implementation>org.codehaus.plexus.redback.authorization.rbac.RbacAuthorizer</implementation>
69       <description>RbacAuthorizer:</description>
70       <requirements>
71         <requirement>
72           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
73           <role-hint>memory</role-hint>
74           <field-name>manager</field-name>
75         </requirement>
76         <requirement>
77           <role>org.codehaus.plexus.redback.users.UserManager</role>
78           <role-hint>memory</role-hint>
79           <field-name>userManager</field-name>
80         </requirement>
81         <requirement>
82           <role>org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluator</role>
83           <role-hint>default</role-hint>
84           <field-name>evaluator</field-name>
85         </requirement>
86         <requirement>
87           <role>org.codehaus.plexus.redback.configuration.UserConfiguration</role>
88           <role-hint>default</role-hint>
89           <field-name>config</field-name>
90         </requirement>
91       </requirements>
92     </component>
93     
94     <component>
95       <role>org.codehaus.plexus.redback.authorization.rbac.evaluator.PermissionEvaluator</role>
96       <role-hint>default</role-hint>
97       <implementation>org.codehaus.plexus.redback.authorization.rbac.evaluator.DefaultPermissionEvaluator</implementation>
98       <requirements>
99         <requirement>
100           <role>org.codehaus.plexus.redback.users.UserManager</role>
101           <role-hint>memory</role-hint>
102           <field-name>userManager</field-name>
103         </requirement>
104       </requirements>
105     </component>
106     
107     <component>
108       <role>org.codehaus.plexus.redback.role.RoleManager</role>
109       <role-hint>default</role-hint>
110       <implementation>org.codehaus.plexus.redback.role.DefaultRoleManager</implementation>
111       <description>RoleProfileManager:</description>
112       <requirements>
113         <requirement>
114           <role>org.codehaus.plexus.redback.role.validator.RoleModelValidator</role>
115           <role-hint>default</role-hint>
116           <field-name>modelValidator</field-name>
117         </requirement>
118         <requirement>
119           <role>org.codehaus.plexus.redback.role.processor.RoleModelProcessor</role>
120           <role-hint>default</role-hint>
121           <field-name>modelProcessor</field-name>
122         </requirement>
123         <requirement>
124           <role>org.codehaus.plexus.redback.role.template.RoleTemplateProcessor</role>
125           <role-hint>default</role-hint>
126           <field-name>templateProcessor</field-name>
127         </requirement>
128         <requirement>
129           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
130           <role-hint>memory</role-hint>
131           <field-name>rbacManager</field-name>
132         </requirement>
133       </requirements>
134     </component>
135     
136     <component>
137       <role>org.codehaus.plexus.redback.role.processor.RoleModelProcessor</role>
138       <role-hint>default</role-hint>
139       <implementation>org.codehaus.plexus.redback.role.processor.DefaultRoleModelProcessor</implementation>
140       <description>DefaultRoleModelProcessor: inserts the components of the model that can be populated into the rbac manager</description>
141       <requirements>
142         <requirement>
143           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
144           <role-hint>memory</role-hint>
145           <field-name>rbacManager</field-name>
146         </requirement>
147       </requirements>
148     </component>
149     
150     <component>
151       <role>org.codehaus.plexus.redback.role.template.RoleTemplateProcessor</role>
152       <role-hint>default</role-hint>
153       <implementation>org.codehaus.plexus.redback.role.template.DefaultRoleTemplateProcessor</implementation>
154       <description>DefaultRoleTemplateProcessor: inserts the components of a template into the rbac manager</description>
155       <requirements>
156         <requirement>
157           <role>org.codehaus.plexus.redback.rbac.RBACManager</role>
158           <role-hint>memory</role-hint>
159           <field-name>rbacManager</field-name>
160         </requirement>
161       </requirements>
162     </component>
163     
164     <component>
165       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
166       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
167       <requirements>
168         <requirement>
169           <role>org.codehaus.plexus.registry.Registry</role>
170           <role-hint>configured</role-hint>
171         </requirement>
172       </requirements>
173     </component>
174     <component>
175       <role>org.codehaus.plexus.registry.Registry</role>
176       <role-hint>configured</role-hint>
177       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
178       <configuration>
179         <properties>
180           <system/>
181           <xml fileName="${basedir}/target/test-conf/archiva.xml"
182                config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
183         </properties>
184       </configuration>
185     </component>
186     
187   </components>
188 </component-set>