diff options
author | 2016-05-24 17:13:17 +0200 | |
---|---|---|
committer | 2016-05-24 17:13:17 +0200 | |
commit | e63b03f3d7e4851e008e4bb4d184982c2c0bd229 (patch) | |
tree | 8364e8a9c56e214ac0fe248409d21f324b1e0f18 /odl-aaa-moon/features/authn | |
parent | 3c1264562ec7949d008e2335b9eecc400436a70d (diff) |
odl/aaa clone
Change-Id: I2b72c16aa3245e02d985a2c6189aacee7caad36e
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'odl-aaa-moon/features/authn')
-rw-r--r-- | odl-aaa-moon/features/authn/pom.xml | 304 | ||||
-rw-r--r-- | odl-aaa-moon/features/authn/src/main/features/features.xml | 247 |
2 files changed, 551 insertions, 0 deletions
diff --git a/odl-aaa-moon/features/authn/pom.xml b/odl-aaa-moon/features/authn/pom.xml new file mode 100644 index 00000000..d7d0def8 --- /dev/null +++ b/odl-aaa-moon/features/authn/pom.xml @@ -0,0 +1,304 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (c) 2014-2015 Hewlett-Packard Development Company, L.P. 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 --> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.opendaylight.odlparent</groupId> + <artifactId>features-parent</artifactId> + <version>1.6.1-Beryllium-SR1</version> + <relativePath/> + </parent> + + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa</artifactId> + <version>0.3.1-Beryllium-SR1</version> + <packaging>jar</packaging> + + <properties> + <config.version>0.4.1-Beryllium-SR1</config.version> + <mdsal.version>2.0.1-Beryllium-SR1</mdsal.version> + <controller.mdsal.version>1.3.1-Beryllium-SR1</controller.mdsal.version> + <yangtools.version>0.8.1-Beryllium-SR1</yangtools.version> + <shiro.version>0.3.1-Beryllium-SR1</shiro.version> + </properties> + + <dependencyManagement> + <dependencies> + <!-- This project --> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-parent</artifactId> + <version>${project.version}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <!-- shiro dependencies --> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro</artifactId> + <version>${shiro.version}</version> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro-act</artifactId> + <version>${shiro.version}</version> + </dependency> + <dependency> + <groupId>org.apache.shiro</groupId> + <artifactId>shiro-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.shiro</groupId> + <artifactId>shiro-web</artifactId> + </dependency> + <!-- odl-aaa-authn --> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-servlet</artifactId> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-core</artifactId> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + </dependency> + <!-- jersey client for moon APIs calls --> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-client</artifactId> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-json</artifactId> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.dependencymanager</artifactId> + </dependency> + <dependency> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.metatype</artifactId> + </dependency> + <dependency> + <groupId>net.sf.ehcache</groupId> + <artifactId>ehcache</artifactId> + </dependency> + <dependency> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-jta_1.1_spec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.oltu.oauth2</groupId> + <artifactId>org.apache.oltu.oauth2.common</artifactId> + </dependency> + <dependency> + <groupId>org.apache.oltu.oauth2</groupId> + <artifactId>org.apache.oltu.oauth2.authzserver</artifactId> + </dependency> + <dependency> + <groupId>org.apache.oltu.oauth2</groupId> + <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + </dependency> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + </dependency> + <dependency> + <groupId>org.glassfish</groupId> + <artifactId>javax.json</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-json-org</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-base</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-json-provider</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.module</groupId> + <artifactId>jackson-module-jaxb-annotations</artifactId> + </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa-api</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-sts</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-store</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-basic</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-idmlight</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-idmlight</artifactId> + <type>xml</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-idmlight</artifactId> + <version>${project.version}</version> + <type>py</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-federation</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-mdsal-config</artifactId> + <type>xml</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn</artifactId> + <type>cfg</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-store</artifactId> + <type>cfg</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-federation</artifactId> + <type>cfg</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-h2-store</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-h2-store</artifactId> + <type>xml</type> + <classifier>config</classifier> + </dependency> + + + <dependency> + <groupId>org.osgi</groupId> + <artifactId>org.osgi.enterprise</artifactId> + <version>4.2.0</version> + </dependency> + + <!-- AuthN MD-SAL Cache dependencies --> + + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-mdsal-store-impl</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-mdsal-api</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.yangtools</groupId> + <artifactId>features-yangtools</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.controller</groupId> + <artifactId>features-mdsal</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.controller</groupId> + <artifactId>features-config</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.controller</groupId> + <artifactId>sal-common-impl</artifactId> + </dependency> + + <!-- odl-aaa-sssd --> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-sssd</artifactId> + </dependency> + + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-idpmapping</artifactId> + </dependency> + + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-keystone</artifactId> + </dependency> + </dependencies> + <scm> + <connection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</connection> + <developerConnection>scm:git:ssh://git.opendaylight.org:29418/aaa.git</developerConnection> + <tag>HEAD</tag> + <url>https://git.opendaylight.org/gerrit/gitweb?p=aaa.git;a=summary</url> + </scm> +</project> diff --git a/odl-aaa-moon/features/authn/src/main/features/features.xml b/odl-aaa-moon/features/authn/src/main/features/features.xml new file mode 100644 index 00000000..2c48d2c1 --- /dev/null +++ b/odl-aaa-moon/features/authn/src/main/features/features.xml @@ -0,0 +1,247 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vi: set et smarttab sw=4 tabstop=4: --> +<!-- Copyright (c) 2014-2015 Hewlett-Packard Development Company, L.P. 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-api/{{VERSION}}/xml/features</repository> + <repository>mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features</repository> + <repository>mvn:org.opendaylight.controller/features-config/{{VERSION}}/xml/features</repository> + <repository>mvn:org.opendaylight.mdsal/features-mdsal/{{VERSION}}/xml/features</repository> + <repository>mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features</repository> + + <feature name='odl-aaa-authn-no-cluster' description='OpenDaylight :: AAA :: Authentication - NO CLUSTER' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-api</feature> + + <!-- MD-SAL --> + <feature version='${yangtools.version}'>odl-yangtools-common</feature> + <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature> + <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature> + <feature version='${config.version}'>odl-config-core</feature> + + <!-- REST --> + <feature>war</feature> + <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle> + + <!-- OSGi --> + <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle> + <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle> + + <!-- EhCache --> + <bundle>mvn:net.sf.ehcache/ehcache/{{VERSION}}</bundle> + <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/{{VERSION}}</bundle> + + <!-- OAuth --> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle> + <bundle>mvn:commons-codec/commons-codec/{{VERSION}}</bundle> + <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle> + + <!-- commons-lang --> + <bundle>wrap:mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle> + + <!-- AuthN --> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro-act/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-store/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle> + <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle> + + <!--H2 Store --> + <bundle>mvn:org.osgi/org.osgi.enterprise/4.2.0</bundle> + <bundle>wrap:mvn:com.h2database/h2/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}</bundle> + <configfile finalname="etc/opendaylight/karaf/08-aaa-h2-store-config.xml">mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}/xml/config</configfile> + + <!-- IDMLight --> + <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle> + <configfile finalname="etc/opendaylight/karaf/08-aaa-idmlight-config.xml">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/xml/config</configfile> + <configfile finalname="etc/idmtool">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/py/config</configfile> + + <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle> + + <!-- Federation --> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle> + <bundle>mvn:org.glassfish/javax.json/{{VERSION}}</bundle> + + <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.tokens.cfg">mvn:org.opendaylight.aaa/aaa-authn-store/{{VERSION}}/cfg/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile> + </feature> + + <feature name='odl-aaa-authn' description='OpenDaylight :: AAA :: Authentication - NO CLUSTER' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-api</feature> + + <!-- MD-SAL --> + <feature version='${yangtools.version}'>odl-yangtools-common</feature> + <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature> + <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature> + <feature version='${config.version}'>odl-config-core</feature> + + <!-- REST --> + <feature>war</feature> + <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-client/${jersey.version}</bundle> + + <!-- OSGi --> + <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle> + <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle> + + <!-- EhCache --> + <bundle>mvn:net.sf.ehcache/ehcache/{{VERSION}}</bundle> + <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/{{VERSION}}</bundle> + + <!-- OAuth --> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro-act/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle> + <bundle>mvn:commons-codec/commons-codec/{{VERSION}}</bundle> + <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle> + + <!-- commons-lang --> + <bundle>wrap:mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle> + + <!-- AuthN --> + <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-store/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle> + <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle> + + <!--H2 Store --> + <bundle>mvn:org.osgi/org.osgi.enterprise/4.2.0</bundle> + <bundle>wrap:mvn:com.h2database/h2/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}</bundle> + <configfile finalname="etc/opendaylight/karaf/08-aaa-h2-store-config.xml">mvn:org.opendaylight.aaa/aaa-h2-store/{{VERSION}}/xml/config</configfile> + + <!-- IDMLight --> + <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle> + <configfile finalname="etc/opendaylight/karaf/08-aaa-idmlight-config.xml">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/xml/config</configfile> + <configfile finalname="etc/idmtool">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/py/config</configfile> + + <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle> + + <!-- Federation --> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle> + <bundle>mvn:org.glassfish/javax.json/{{VERSION}}</bundle> + + <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.tokens.cfg">mvn:org.opendaylight.aaa/aaa-authn-store/{{VERSION}}/cfg/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile> + </feature> + + <feature name='odl-aaa-authn-mdsal-cluster' description='OpenDaylight :: AAA :: Authentication :: MD-SAL' + version='${project.version}'> + + <!-- MD-SAL --> + <feature version='${yangtools.version}'>odl-yangtools-common</feature> + <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature> + <feature version='${controller.mdsal.version}'>odl-mdsal-broker</feature> + <feature version='${config.version}'>odl-config-core</feature> + + + <!-- OSGi --> + <bundle>mvn:org.apache.felix/org.apache.felix.dependencymanager/{{VERSION}}</bundle> + <bundle>mvn:org.apache.felix/org.apache.felix.metatype/{{VERSION}}</bundle> + + <!-- OAuth --> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.common/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.authzserver/{{VERSION}}</bundle> + <bundle>mvn:org.apache.oltu.oauth2/org.apache.oltu.oauth2.resourceserver/{{VERSION}}</bundle> + <bundle>mvn:commons-codec/commons-codec/1.8</bundle> + <bundle>wrap:mvn:org.json/json/{{VERSION}}</bundle> + + <!-- AuthN --> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-shiro-act/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-core/{{VERSION}}</bundle> + <bundle>mvn:org.apache.shiro/shiro-web/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-api/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-sts/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-api/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-mdsal-store-impl/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-basic/{{VERSION}}</bundle> + <bundle>mvn:com.google.guava/guava/{{VERSION}}</bundle> + + <!-- IDMLight --> + <bundle>mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}</bundle> + <configfile finalname="etc/opendaylight/karaf/08-aaa-idmlight-config.xml">mvn:org.opendaylight.aaa/aaa-idmlight/{{VERSION}}/xml/config</configfile> + <bundle>mvn:com.fasterxml.jackson.core/jackson-core/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/{{VERSION}}</bundle> + <bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/{{VERSION}}</bundle> + <bundle>wrap:mvn:com.h2database/h2/{{VERSION}}</bundle> + + <!-- Federation --> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-idpmapping/{{VERSION}}</bundle> + <bundle>mvn:org.glassfish/javax.json/1.0.4</bundle> + + <!-- REST --> + <feature>war</feature> + <bundle>mvn:com.sun.jersey/jersey-servlet/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle> + + <configfile finalname="etc/opendaylight/karaf/08-authn-config.xml">mvn:org.opendaylight.aaa/aaa-authn-mdsal-config/{{VERSION}}/xml/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.authn.cfg">mvn:org.opendaylight.aaa/aaa-authn/{{VERSION}}/cfg/config</configfile> + <configfile finalname="/etc/org.opendaylight.aaa.federation.cfg">mvn:org.opendaylight.aaa/aaa-authn-federation/{{VERSION}}/cfg/config</configfile> + + </feature> + + <feature name='odl-aaa-keystone-plugin' description='OpenDaylight :: AAA :: Keystone Plugin - NO CLUSTER' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-authn</feature> + <bundle>mvn:org.apache.httpcomponents/httpclient-osgi/{{VERSION}}</bundle> + <bundle>mvn:org.apache.httpcomponents/httpcore-osgi/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-keystone/{{VERSION}}</bundle> + </feature> + + <feature name='odl-aaa-sssd-plugin' description='OpenDaylight :: AAA :: SSSD Federation Plugin' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-authn</feature> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-sssd/{{VERSION}}</bundle> + </feature> + + <feature name='odl-aaa-authn-sssd-no-cluster' description='OpenDaylight :: AAA :: SSSD Federation - NO CLUSTER' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-authn-no-cluster</feature> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-sssd/{{VERSION}}</bundle> + </feature> +</features> |