aboutsummaryrefslogtreecommitdiffstats
path: root/upstream/odl-aaa-moon/aaa/features/shiro/src/main/features/features.xml
blob: c6073a2a7fcbb95f8310e7eeea3f6fecc85b8b49 (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
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2015 Brocade Communications Systems and others.
    All rights reserved. This program and the accompanying materials are made
    available under the terms of the Eclipse Public License v1.0 which accompanies
    this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html -->
<features name="odl-aaa-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">

    <repository>mvn:org.opendaylight.aaa/features-aaa/{{VERSION}}/xml/features</repository>

    <!-- odl-aaa-shiro feature which combines all aspects of AAA into one feature -->
    <feature name='odl-aaa-shiro' description='OpenDaylight :: AAA :: Shiro'
             version='${project.version}'>

        <!-- OSGI -->
        <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle>
        <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle>

        <!-- Existing AAA infrastructure -->
        <feature version='${project.version}'>odl-aaa-authn</feature>

        <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle>
        <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle>

        <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle>
        <bundle>wrap:mvn:javax.annotation/javax.annotation-api/{{VERSION}}</bundle>
        <bundle>wrap:mvn:com.google.code.findbugs/jsr305/{{VERSION}}</bundle>
        <bundle>wrap:mvn:commons-codec/commons-codec/{{VERSION}}</bundle>
        <bundle>wrap:mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle>
        <bundle>wrap:mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle>
        <bundle>wrap:mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle>
        <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle>
        <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/{{VERSION}}</bundle>
        <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle>

        <!-- AAA configuration file -->
        <configfile finalname="/etc/shiro.ini">mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}/cfg/configuration</configfile>
    </feature>

</features>