diff options
Diffstat (limited to 'odl-aaa-moon/aaa/features')
-rw-r--r-- | odl-aaa-moon/aaa/features/api/pom.xml | 91 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/api/src/main/features/features.xml | 21 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/authn/pom.xml | 300 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/authn/src/main/features/features.xml | 249 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/authz/pom.xml | 101 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/authz/src/main/features/features.xml | 31 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/pom.xml | 19 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/shiro/pom.xml | 179 | ||||
-rw-r--r-- | odl-aaa-moon/aaa/features/shiro/src/main/features/features.xml | 41 |
9 files changed, 1032 insertions, 0 deletions
diff --git a/odl-aaa-moon/aaa/features/api/pom.xml b/odl-aaa-moon/aaa/features/api/pom.xml new file mode 100644 index 00000000..80545866 --- /dev/null +++ b/odl-aaa-moon/aaa/features/api/pom.xml @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (c) 2014 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.2-Beryllium-SR2</version> + <relativePath/> + </parent> + + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa-api</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <packaging>jar</packaging> + + <properties> + <yangtools.version>0.8.2-Beryllium-SR2</yangtools.version> + <mdsal.version>2.0.2-Beryllium-SR2</mdsal.version> + </properties> + + <dependencyManagement> + <dependencies> + <!-- This project --> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-artifacts</artifactId> + <version>${project.version}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + + <!-- YANG tools --> + <dependency> + <groupId>org.opendaylight.yangtools</groupId> + <artifactId>yangtools-artifacts</artifactId> + <version>${yangtools.version}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + </dependency> + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-server</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-api</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-credential-store-api</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.yangtools</groupId> + <artifactId>features-yangtools</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.mdsal</groupId> + <artifactId>features-mdsal</artifactId> + <version>2.0.2-Beryllium-SR2</version> + <classifier>features</classifier> + <type>xml</type> + </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/aaa/features/api/src/main/features/features.xml b/odl-aaa-moon/aaa/features/api/src/main/features/features.xml new file mode 100644 index 00000000..c526e174 --- /dev/null +++ b/odl-aaa-moon/aaa/features/api/src/main/features/features.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vi: set et smarttab sw=4 tabstop=4: --> +<!-- Copyright (c) 2014 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.yangtools/features-yangtools/{{VERSION}}/xml/features</repository> + <repository>mvn:org.opendaylight.mdsal/features-mdsal/{{VERSION}}/xml/features</repository> + <feature name='odl-aaa-api' description='OpenDaylight :: AAA :: APIs' + version='${project.version}'> + <bundle>mvn:com.sun.jersey/jersey-server/{{VERSION}}</bundle> + <bundle>mvn:com.sun.jersey/jersey-core/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authn-api/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-credential-store-api/{{VERSION}}</bundle> + <feature version='${yangtools.version}'>odl-yangtools-common</feature> + <feature version='${mdsal.version}'>odl-mdsal-binding-base</feature> + </feature> +</features> diff --git a/odl-aaa-moon/aaa/features/authn/pom.xml b/odl-aaa-moon/aaa/features/authn/pom.xml new file mode 100644 index 00000000..0df53fbd --- /dev/null +++ b/odl-aaa-moon/aaa/features/authn/pom.xml @@ -0,0 +1,300 @@ +<?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.2-Beryllium-SR2</version> + <relativePath/> + </parent> + + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <packaging>jar</packaging> + + <properties> + <config.version>0.4.2-Beryllium-SR2</config.version> + <mdsal.version>2.0.2-Beryllium-SR2</mdsal.version> + <controller.mdsal.version>1.3.2-Beryllium-SR2</controller.mdsal.version> + <yangtools.version>0.8.2-Beryllium-SR2</yangtools.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> + <!-- 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-shiro</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro-act</artifactId> + </dependency> + <dependency> + <groupId>org.apache.shiro</groupId> + <artifactId>shiro-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.shiro</groupId> + <artifactId>shiro-web</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/aaa/features/authn/src/main/features/features.xml b/odl-aaa-moon/aaa/features/authn/src/main/features/features.xml new file mode 100644 index 00000000..2796e467 --- /dev/null +++ b/odl-aaa-moon/aaa/features/authn/src/main/features/features.xml @@ -0,0 +1,249 @@ +<?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> + <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.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.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-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> + <bundle>mvn:com.sun.jersey/jersey-client/${jersey.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> diff --git a/odl-aaa-moon/aaa/features/authz/pom.xml b/odl-aaa-moon/aaa/features/authz/pom.xml new file mode 100644 index 00000000..2ff41307 --- /dev/null +++ b/odl-aaa-moon/aaa/features/authz/pom.xml @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (c) 2014 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.2-Beryllium-SR2</version> + <relativePath/> + </parent> + + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa-authz</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <packaging>jar</packaging> + + <properties> + <config.version>0.4.2-Beryllium-SR2</config.version> + <mdsal.version>2.0.2-Beryllium-SR2</mdsal.version> + <controller.mdsal.version>1.3.2-Beryllium-SR2</controller.mdsal.version> + <yangtools.version>0.8.2-Beryllium-SR2</yangtools.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> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa-api</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <!-- odl-aaa-authz --> + <dependency> + <groupId>org.opendaylight.yangtools</groupId> + <artifactId>features-yangtools</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.mdsal</groupId> + <artifactId>features-mdsal</artifactId> + <classifier>features</classifier> + <version>${mdsal.version}</version> + <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>features-mdsal</artifactId> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>authz-restconf-config</artifactId> + <type>xml</type> + <classifier>config</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authz-model</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authz-service</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>authz-service-config</artifactId> + <type>xml</type> + <classifier>config</classifier> + </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/aaa/features/authz/src/main/features/features.xml b/odl-aaa-moon/aaa/features/authz/src/main/features/features.xml new file mode 100644 index 00000000..c5239045 --- /dev/null +++ b/odl-aaa-moon/aaa/features/authz/src/main/features/features.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- vi: set et smarttab sw=4 tabstop=4: --> +<!-- Copyright (c) 2014 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.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> + <repository>mvn:org.opendaylight.aaa/features-aaa-api/{{VERSION}}/xml/features</repository> + + <feature name='odl-aaa-authz' description='OpenDaylight :: AAA :: Authorization' + version='${project.version}'> + <feature version='${project.version}'>odl-aaa-api</feature> + <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> + <bundle>mvn:org.opendaylight.aaa/aaa-authz-model/{{VERSION}}</bundle> + <bundle>mvn:org.opendaylight.aaa/aaa-authz-service/{{VERSION}}</bundle> + <configfile + finalname="/etc/opendaylight/karaf/08-authz-config.xml">mvn:org.opendaylight.aaa/authz-service-config/{{VERSION}}/xml/config</configfile> + <configfile + finalname="/etc/opendaylight/karaf/09-rest-connector.xml">mvn:org.opendaylight.aaa/authz-restconf-config/{{VERSION}}/xml/config</configfile> + </feature> + +</features> diff --git a/odl-aaa-moon/aaa/features/pom.xml b/odl-aaa-moon/aaa/features/pom.xml new file mode 100644 index 00000000..548a240b --- /dev/null +++ b/odl-aaa-moon/aaa/features/pom.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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.aaa</groupId> + <artifactId>aaa-parent</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <relativePath>../parent</relativePath> + </parent> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aggregator</artifactId> + <packaging>pom</packaging> + <modules> + <module>shiro</module> + <module>api</module> + <module>authn</module> + <module>authz</module> + </modules> +</project> diff --git a/odl-aaa-moon/aaa/features/shiro/pom.xml b/odl-aaa-moon/aaa/features/shiro/pom.xml new file mode 100644 index 00000000..04114355 --- /dev/null +++ b/odl-aaa-moon/aaa/features/shiro/pom.xml @@ -0,0 +1,179 @@ +<?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 --> +<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.2-Beryllium-SR2</version> + <relativePath/> + </parent> + + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa-shiro</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <packaging>jar</packaging> + + <properties> + <javax.annotation.api.version>1.2</javax.annotation.api.version> + <servicemix.version>1.8.3_2</servicemix.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> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>features-aaa</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <classifier>features</classifier> + <type>xml</type> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro-act</artifactId> + <version>0.3.2-Beryllium-SR2</version> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro</artifactId> + <version>0.3.2-Beryllium-SR2</version> + <type>cfg</type> + <classifier>configuration</classifier> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-sts</artifactId> + <version>0.3.2-Beryllium-SR2</version> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-api</artifactId> + <version>0.3.2-Beryllium-SR2</version> + </dependency> + <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> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>javax.servlet-api</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>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-shiro</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-api</artifactId> + </dependency> + <dependency> + <groupId>org.opendaylight.aaa</groupId> + <artifactId>aaa-authn-sts</artifactId> + </dependency> + <dependency> + <groupId>javax.annotation</groupId> + <artifactId>javax.annotation-api</artifactId> + <version>${javax.annotation.api.version}</version> + </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>org.apache.shiro</groupId> + <artifactId>shiro-web</artifactId> + </dependency> + <dependency> + <groupId>org.apache.shiro</groupId> + <artifactId>shiro-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.commons-beanutils</artifactId> + <version>${servicemix.version}</version> + </dependency> + <dependency> + <groupId>org.apache.oltu.oauth2</groupId> + <artifactId>org.apache.oltu.oauth2.resourceserver</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.common</artifactId> + </dependency> + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>javax.ws.rs-api</artifactId> + </dependency> + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</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/aaa/features/shiro/src/main/features/features.xml b/odl-aaa-moon/aaa/features/shiro/src/main/features/features.xml new file mode 100644 index 00000000..c6073a2a --- /dev/null +++ b/odl-aaa-moon/aaa/features/shiro/src/main/features/features.xml @@ -0,0 +1,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> |