summaryrefslogtreecommitdiffstats
path: root/archiva-security/src/main/resources/META-INF/plexus/components.xml
blob: 9fc5dbf18a0ee991b2835911df3b615ff79056da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<component-set>
  <components>
    <!-- TODO: wouldn't need to redeclare if it was composition -->
    <!-- TODO: why is the container a requirement? -->
    <component>
      <role>org.codehaus.plexus.rbac.profile.RoleProfileManager</role>
      <role-hint>archiva</role-hint>
      <implementation>org.apache.maven.archiva.security.ArchivaRoleProfileManager</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.PlexusContainer</role>
          <field-name>container</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.rbac.profile.RoleProfile</role>
          <field-name>knownRoleProfiles</field-name>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.rbac.profile.DynamicRoleProfile</role>
          <field-name>knownDynamicRoleProfiles</field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>org.codehaus.plexus.rbac.profile.RoleProfile</role>
      <role-hint>archiva-system-administrator</role-hint>
      <implementation>org.apache.maven.archiva.security.ArchivaSystemAdministratorRoleProfile</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.security.rbac.RBACManager</role>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.PlexusContainer</role>
          <field-name>container</field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>org.codehaus.plexus.rbac.profile.RoleProfile</role>
      <role-hint>archiva-user-administrator</role-hint>
      <implementation>org.apache.maven.archiva.security.ArchivaUserAdministratorRoleProfile</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.security.rbac.RBACManager</role>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.PlexusContainer</role>
          <field-name>container</field-name>
        </requirement>
      </requirements>
    </component>
    <component>
      <role>org.codehaus.plexus.rbac.profile.RoleProfile</role>
      <role-hint>archiva-guest</role-hint>
      <implementation>org.apache.maven.archiva.security.ArchivaGuestRoleProfile</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.security.rbac.RBACManager</role>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.PlexusContainer</role>
          <field-name>container</field-name>
        </requirement>
      </requirements>
    </component>
  </components>
</component-set>