[java-oidc-common] branch main updated: JCOMOIDC-9 - Surface the oidc-common library as an IdP plugin

Phil Smart philip.smart at jisc.ac.uk
Mon Jan 18 16:57:28 UTC 2021


This is an automated email from the git hooks/post-receive script.

philsmart pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=aa17214bc7694ebef789bde1b5fcb1a9eca063bd

The following commit(s) were added to refs/heads/main by this push:
       new  aa17214   JCOMOIDC-9 - Surface the oidc-common library as an IdP plugin
aa17214 is described below

commit aa17214bc7694ebef789bde1b5fcb1a9eca063bd
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Jan 18 16:57:25 2021 +0000

    JCOMOIDC-9 - Surface the oidc-common library as an IdP plugin
    
     - added a new dist module for packaging
     - added a new plugin module for plugin and module service configuration
    
    https://issues.shibboleth.net/jira/browse/JCOMOIDC-9
---
 oidc-common-attribute-api/pom.xml                  |   2 +-
 oidc-common-attribute-impl/pom.xml                 |   2 +-
 oidc-common-crypto-api/pom.xml                     |   2 +-
 oidc-common-crypto-impl/pom.xml                    |   2 +-
 oidc-common-dist/pom.xml                           |  71 ++++++++
 .../src/main/assembly/plugin-assembly.xml          | 146 ++++++++++++++++
 .../src/main/resources/bootstrap/keys.txt          | 189 +++++++++++++++++++++
 oidc-common-metadata-api/pom.xml                   |   2 +-
 oidc-common-metadata-impl/pom.xml                  |   2 +-
 oidc-common-plugin/pom.xml                         |  34 ++++
 .../shibboleth/oidc/common/OIDCCommonModule.java   |  22 +++
 .../shibboleth/oidc/common/OIDCCommonPlugin.java   |  36 ++++
 .../net/shibboleth/oidc/common/package-info.java   |  22 +++
 .../net/shibboleth/oidc/common/module.properties   |   7 +
 .../net/shibboleth/oidc/common/plugin.properties   |   8 +
 oidc-common-saml-api/pom.xml                       |   2 +-
 oidc-common-saml-impl/pom.xml                      |   2 +-
 pom.xml                                            |   4 +-
 18 files changed, 546 insertions(+), 9 deletions(-)

diff --git a/oidc-common-attribute-api/pom.xml b/oidc-common-attribute-api/pom.xml
index 1e79e55..c683d8b 100644
--- a/oidc-common-attribute-api/pom.xml
+++ b/oidc-common-attribute-api/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-attribute-api</artifactId>
     <packaging>jar</packaging>
-    <name>Shibboleth OIDC Java Common Library - OIDC attribute API</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Attribute API</name>
     <description>Interfaces for common OIDC attributes.</description>
 
     <properties>
diff --git a/oidc-common-attribute-impl/pom.xml b/oidc-common-attribute-impl/pom.xml
index 9ec53b5..05c6146 100644
--- a/oidc-common-attribute-impl/pom.xml
+++ b/oidc-common-attribute-impl/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-attribute-impl</artifactId>
     <packaging>jar</packaging>    
-    <name>Shibboleth OIDC Java Common Library - OIDC attribute implementation</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Attribute Implementation</name>
     <description>Implementation for common OIDC attribute functions/features.</description>
     
     <properties>
diff --git a/oidc-common-crypto-api/pom.xml b/oidc-common-crypto-api/pom.xml
index f5d6779..e5047f0 100644
--- a/oidc-common-crypto-api/pom.xml
+++ b/oidc-common-crypto-api/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-crypto-api</artifactId>
     <packaging>jar</packaging>
-    <name>Shibboleth OIDC Java Common Library - Crypto API</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Crypto API</name>
     <description>Interfaces for common crypto/security functions/features.</description>
 
     <properties>
diff --git a/oidc-common-crypto-impl/pom.xml b/oidc-common-crypto-impl/pom.xml
index e3a31c8..3203e90 100644
--- a/oidc-common-crypto-impl/pom.xml
+++ b/oidc-common-crypto-impl/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-crypto-impl</artifactId>
     <packaging>jar</packaging>    
-    <name>Shibboleth OIDC Java Common Library - Crypto implementation</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Crypto Implementation</name>
     <description>Implementation for common crypto/security functions/features.</description>
     
     <properties>
diff --git a/oidc-common-dist/pom.xml b/oidc-common-dist/pom.xml
new file mode 100644
index 0000000..ba80cb3
--- /dev/null
+++ b/oidc-common-dist/pom.xml
@@ -0,0 +1,71 @@
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>net.shibboleth.oidc</groupId>
+		<artifactId>oidc-common-parent</artifactId>
+		<version>0.0.1-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>oidc-common-dist</artifactId>
+	<name>Shibboleth IdP :: Plugins :: OIDC Common :: Distribution</name>
+	<description>Distributiuon of the common OIDC plugin.</description>
+
+	<properties>
+		<checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
+		<dist.finalName>shibboleth-idp-plugin-oidc-common-${project.version}</dist.finalName>
+		<dist.assemblyDirectory>${project.build.directory}/${dist.finalName}</dist.assemblyDirectory>
+	</properties>
+
+	<build>
+		<plugins>
+			<!-- Copy src/main/resources to assembly directory. -->
+			<plugin>
+				<artifactId>maven-resources-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>copy-resources</id>
+						<phase>prepare-package</phase>
+						<goals>
+							<goal>copy-resources</goal>
+						</goals>
+						<configuration>
+							<includeEmptyDirs>true</includeEmptyDirs>
+							<outputDirectory>${dist.assemblyDirectory}</outputDirectory>
+							<resources>
+								<resource>
+									<directory>${basedir}/src/main/resources</directory>
+								</resource>
+							</resources>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<!-- Assemble -->
+			<plugin>
+				<artifactId>maven-assembly-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>make-assembly</id>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+					</execution>
+				</executions>
+				<configuration>
+					<appendAssemblyId>false</appendAssemblyId>
+					<descriptors>
+						<descriptor>src/main/assembly/plugin-assembly.xml</descriptor>
+					</descriptors>
+					<finalName>${dist.finalName}</finalName>
+					<tarLongFileMode>gnu</tarLongFileMode>
+				</configuration>
+			</plugin>
+		</plugins>
+
+	</build>
+
+
+</project>
\ No newline at end of file
diff --git a/oidc-common-dist/src/main/assembly/plugin-assembly.xml b/oidc-common-dist/src/main/assembly/plugin-assembly.xml
new file mode 100644
index 0000000..3156522
--- /dev/null
+++ b/oidc-common-dist/src/main/assembly/plugin-assembly.xml
@@ -0,0 +1,146 @@
+<assembly>
+	<id>assembly-zip</id>
+	<formats>
+		<format>zip</format>
+	</formats>
+	<fileSets>
+		<!-- attribute -->
+		<fileSet>
+			<directory>../oidc-common-attribute-api/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-attribute-api-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>../oidc-common-attribute-impl/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-attribute-impl-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+
+		<!-- crypto -->
+		<fileSet>
+			<directory>../oidc-common-crypto-api/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-crypto-api-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>../oidc-common-crypto-impl/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-crypto-impl-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+
+		<!-- metadata -->
+		<fileSet>
+			<directory>../oidc-common-metadata-api/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-metadata-api-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>../oidc-common-metadata-impl/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-metadata-impl-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+
+		<!-- saml -->
+		<fileSet>
+			<directory>../oidc-common-saml-api/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-saml-api-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>../oidc-common-saml-impl/target</directory>
+			<outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+			<includes>
+				<include>oidc-common-saml-impl-*.jar</include>
+			</includes>
+			<excludes>
+				<exclude>*test*.jar</exclude>
+				<exclude>*javadoc.jar</exclude>
+				<exclude>*sources.jar</exclude>
+			</excludes>
+		</fileSet>
+		
+		<!-- the module to serve the plugin -->
+        <fileSet>
+            <directory>../oidc-common-plugin/target</directory>
+            <outputDirectory>webapp/WEB-INF/lib</outputDirectory>
+            <includes>
+                <include>oidc-common-plugin-*.jar</include>
+            </includes>
+            <excludes>
+                <exclude>*test*.jar</exclude>
+                <exclude>*javadoc.jar</exclude>
+                <exclude>*sources.jar</exclude>
+            </excludes>
+        </fileSet>
+		
+		<!-- The shared property file -->
+		<fileSet>			
+			<directory>../oidc-common-plugin/target/classes/net/shibboleth/oidc/common
+			</directory>
+			<outputDirectory>bootstrap</outputDirectory>
+			<includes>
+				<include>plugin.properties</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<!-- The signing certificates -->
+			<directory>src/main/resources/bootstrap</directory>
+			<outputDirectory>bootstrap</outputDirectory>
+			<includes>
+				<include>keys.txt</include>
+			</includes>
+		</fileSet>
+
+
+
+	</fileSets>
+</assembly>
diff --git a/oidc-common-dist/src/main/resources/bootstrap/keys.txt b/oidc-common-dist/src/main/resources/bootstrap/keys.txt
new file mode 100644
index 0000000..0ccc322
--- /dev/null
+++ b/oidc-common-dist/src/main/resources/bootstrap/keys.txt
@@ -0,0 +1,189 @@
+
+pub   4096R/2A4B3FF0 2019-09-18
+uid                  Rod Widdowson <rdw at steadingsoftware.com>
+sub   4096R/441D628D 2019-09-18
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBF2CHx4BEADfUvo4sPc8a8uQjfvoHdBY0qmgwXlcAOyllBKZ5g/wYKZO1Lkp
+LZh/dQFBK4AjqRnzs0dq0arK0W5WijOYjQ+s5cd1MMXmzqgXG02eAS4ooK6KsSwv
+mo2FydddQKFbwLkGdS/UXcENWNnzGeJhmjmcPSLgRo2hsSh63cFltq2+8fwl1fQ9
+FzZwscOOkJGBb7/nqdHdnvL9yrRameYFo2iWF9P52cjfv5NiNklkDBUHeISuX48I
+pI+kSOz2b7/aP4vKOKOpOaas0MAdcYT8AcwrCD9OhFFzfuIs/S9+rHGs/+M0vcWG
+DPR+IY0L7Stgkc2Hz1gazuqHBiOBq5VnDOE9nkZ/mY/HwMJzYCtuwQSPyidY7sRk
+lrD5NzXVXGtUri/vghOgR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u5FObde0oxX2Cq
+8vjaSrlthcQpFT/4z4K3ecU+Orq2L9sUw27/FMgwC0DN1xIvi8no/wwZD557XgVJ
+WL6VYn1UQxz0h1zJiOUSNS6uEm33dKzp4kay0p4em7kLmsMu4zp/Z9ICDlo1CdK+
+IzKZQMjVbwfowe6i+I0wVYTTRhSGignjErI5sw7jp1PLUIwYswj+tm0QFi5b40Bj
++xgnJaqX6SCQ9tE8mdewFIqyrzIikQAcWp1tl3T8jHogAnubuRmMjt+BFvgfif8o
+AtPC4OBOWnp2K4Ci8ZOqvH0iFYxiHofftRw3nrIdQYcOD7dtv6CmM6FhxZtg9DMl
+R8x9igyDtzaPp7FKgHaMxLtdxo5De3vgIoQWdKG1tWLxMt5DCOPHpis0MobeiYMv
+D9taEWhR7lgkn9ONep8eUNvWKcDZQ6m8Lyl0JyWn2z2kj3Pt+pEcunof7xaDz5sS
+daJ1j+TzGXUXZuHI/dSxHi1ZluexNi8x5B81kTbd7/VxxNc6C/Rgara+qwoo9hyP
+HEdQFQ==
+=/gwj
+-----END PGP PUBLIC KEY BLOCK-----
+
+OBS security:shibboleth RPM repository key
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+mQGiBEholYgRBACW/kTYZi5mAEMP8j1qui2bRnWmYblFbiZvb5JMJYUWL/jyMjHj
+LLJvVrnOre/AxexH9KmaJwBuNoa/X9l/tQGIb49QRhR346QQUbQcwlYpckg5ccqN
+qlAURHEdjCxRxMhzPs+C/F6Nqa/fHpAectW0JNRqAVVd9CWjCG3l6I2CywCgk9UI
+SUAvaB5bVMxEVrFAKrVh4MUEAISeUwOaTIZftIamjo0VrnYemHS4SmGqMALEtHeG
+/o7ecMhLb/MvreEVISrE1hbfmnObYoiVXWJrorOEZDh1hOVdGRkHJOYHvQSRp9uC
+/uy4Mmog4R7ba5Ct5wpw0RCav2HMqwOJEyCX6jnip5P5LMmaFdGg/RQZM/e9mbyF
+VeL0A/0WK//+VWr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BHbVea
+ixOotHM271C3KsWTqURgzCX+GrumMS7QvXnHq4xketuBsVD6X/rlHzLjxSE0p7Tj
+G/B2VV1WPkb+QgPDC/1rXIi6NMm9GE/tzbPXTcGHX2irHlvGvotg32vWwehRnqNF
+exLuW4t30p+8E27+l03kGILCNLhhAFjjjPp4Vza/E3ZaQprSVBr9gH1HwZKUTThM
+EqGmypTmvnmx3Kw6pG0tia4wdLSxfyZh5XltUnwVSqptWdvt5tlceMFJlGxvIuw1
+ubDr97aIVM7kME6E5D59IXDWnxkIbdoAtaeQegO2OeyvbffuKnnX0ogF4Gcu6Zed
+ap7nWr2LBEwN3S9+hDIrXfs3QMy3bZIPkVCo0ncwaJPZFIMWWqeUkkjTzOKbQ53P
+6REH0FGoCXOH3qTqbS3bPNmyD3TVtN8OwiUZsOr/zu9VdNqUW3oq+aix4tU00pu7
+A+i1fd0Gifis1HhBeA==
+=ObHY
+-----END PGP PUBLIC KEY BLOCK-----
+
+philsmart GPG key 4096-bit RSA key, ID C21771DD, created 2020-02-25
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+mQINBF5Vg+kBEADDQtURshtXwGjjv+9DHElGTtit9cFdYKJYY7SvpRsTd7z6JLlq
+oSjCURDvzmsihHOuUQeEwkGxTgveP1nzrXkNQvfQneLmkLPs+eNv9PRH01vyFEjc
+DxP6pOaG2Oi290Yf6k0QmQrJEH1ySYS7CCDRVy/9d9bHlPWzPyCH4E/QVaHIJcWO
+kghdRnbuVvpH1Qlx6NG8sh8IH2ZVT4CPcS9A3xszSHX0IRIq/1Cs60xi3iS5bhxU
+vAnNv8MbLPCGYdhqkiX4Kp5dpOIPDqpm7xP63KmGHQ9VCJ783pziwH8gkqx5dMLP
+iIIf7Frf2in2CyOhzGR6+uLX68+WpkW1sIw6hkqaKcmIc+I308mrMXU4kCZ+TmKD
+pQQn3ji7UeQ8mLUA8kXWaUuhoP58y1e8goVOVvNbOZrGvFY5JW1Nue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p/npjnMY+mYONkpmXb4Y+
+cROco+mVVeN3baDQUO4DAWHVs9riuWRpqpt2y1yYIaRbmRBQhYWwzONTgyxhl1HC
+cYE0+AF38jTE6Abe9X8TWayo8EgNFKe+5AOjYuByVhIm8khL/c4a761kQoN2vxqZ
+/7SJPFVY48X1dEvvxpWmZWq5iYB8y9TwrLgPrBQa8VUf2MkZFb1FqwmZIQ8++l9J
+H6Wkgz7obbwX0aI+b8nIjcglrQz811JhsZ4N4SK+BXyfMOpzVFVfTKP7B4xhd+Uc
+zbDvrWSXHr5zO4zg1rGmSjdCtU8omIJu2FFv87q7IOOmvjefcQLKFSnFsBYgCR+r
+p4tHovBdwCerszJryXL9jPma9jdfbGmttL+36358si1RNrQG6IhaJpa5a89/BJQH
+3aNjQSVwGC4Owz97QpUq9StZb1qhvIw=
+=1e4x
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/oidc-common-metadata-api/pom.xml b/oidc-common-metadata-api/pom.xml
index 37d14fb..df14a7b 100644
--- a/oidc-common-metadata-api/pom.xml
+++ b/oidc-common-metadata-api/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-metadata-api</artifactId>
     <packaging>jar</packaging>
-    <name>Shibboleth OIDC Java Common Library - OIDC RP metadata API</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Relying Party Metadata API</name>
     <description>Interfaces for common OIDC RP metadata functions/features.</description>
 
     <properties>
diff --git a/oidc-common-metadata-impl/pom.xml b/oidc-common-metadata-impl/pom.xml
index 3b69236..2b8a794 100644
--- a/oidc-common-metadata-impl/pom.xml
+++ b/oidc-common-metadata-impl/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-metadata-impl</artifactId>
     <packaging>jar</packaging>    
-    <name>Shibboleth OIDC Java Common Library - OIDC RP metadata implementation</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Relying Party Metadata Implementation</name>
     <description>Implementation for common OIDC RP metadata functions/features.</description>
     
     <properties>
diff --git a/oidc-common-plugin/pom.xml b/oidc-common-plugin/pom.xml
new file mode 100644
index 0000000..a294ed1
--- /dev/null
+++ b/oidc-common-plugin/pom.xml
@@ -0,0 +1,34 @@
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>net.shibboleth.oidc</groupId>
+		<artifactId>oidc-common-parent</artifactId>
+		<version>0.0.1-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>oidc-common-plugin</artifactId>
+	<name>Shibboleth IdP :: Plugins :: OIDC Common :: Plugin</name>
+	<description>Plugin configuration module of the common OIDC plugin</description>
+
+	<properties>
+		<checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
+		<automatic.module.name>net.shibboleth.oidc.saml.impl</automatic.module.name>
+	</properties>
+
+	<dependencies>
+		<!-- Needed for module/plugin impls. -->
+		<dependency>
+            <groupId>${idp.groupId}</groupId>
+            <artifactId>idp-admin-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+		<dependency>
+			<groupId>${idp.groupId}</groupId>
+			<artifactId>idp-admin-impl</artifactId>
+			<scope>provided</scope>
+		</dependency>
+
+	</dependencies>
+</project>
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule.java
new file mode 100644
index 0000000..8117fb6
--- /dev/null
+++ b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonModule.java
@@ -0,0 +1,22 @@
+package net.shibboleth.oidc.common;
+
+import java.io.IOException;
+
+import net.shibboleth.idp.module.ModuleException;
+import net.shibboleth.idp.module.impl.PluginIdPModule;
+
+/** OIDC Common module implementation.*/
+public class OIDCCommonModule extends PluginIdPModule {
+
+    /**
+     * Constructor.
+     * 
+     * @throws IOException if the property file cannot be loaded
+     * @throws ModuleException if other errors occur
+     */
+    public OIDCCommonModule() throws IOException, ModuleException {
+        super(OIDCCommonModule.class);
+    }
+    
+
+}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java
new file mode 100644
index 0000000..261be89
--- /dev/null
+++ b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/OIDCCommonPlugin.java
@@ -0,0 +1,36 @@
+package net.shibboleth.oidc.common;
+
+import java.io.IOException;
+import java.util.Collections;
+
+import net.shibboleth.idp.module.IdPModule;
+import net.shibboleth.idp.module.ModuleException;
+import net.shibboleth.idp.plugin.PluginException;
+import net.shibboleth.idp.plugin.impl.FirstPartyIdPPlugin;
+
+/** OIDC Common plugin implementation.*/
+public class OIDCCommonPlugin extends FirstPartyIdPPlugin{
+    
+    
+    /**
+     * Constructor.
+     * 
+     * @throws IOException if the properties fail to load
+     * @throws PluginException if other errors occur
+     */
+    public OIDCCommonPlugin() throws IOException, PluginException{
+        super(OIDCCommonPlugin.class);
+        try {
+            final IdPModule module = new OIDCCommonModule();
+            setEnableOnInstall(Collections.singleton(module));
+            setDisableOnRemoval(Collections.singleton(module));
+        } catch (final IOException e) {
+            throw e;
+        } catch (final ModuleException e) {
+            throw new PluginException(e);
+        }
+    }
+
+
+
+}
diff --git a/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/package-info.java b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/package-info.java
new file mode 100644
index 0000000..086122e
--- /dev/null
+++ b/oidc-common-plugin/src/main/java/net/shibboleth/oidc/common/package-info.java
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements.  See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Plugin and module information about the OIDC common library.
+ */
+
+package net.shibboleth.oidc.common;
\ No newline at end of file
diff --git a/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties
new file mode 100644
index 0000000..cc0aa23
--- /dev/null
+++ b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/module.properties
@@ -0,0 +1,7 @@
+# Properties defining this module.
+
+# Class to Module ID mappings
+net.shibboleth.oidc.common.OIDCCommonModule.java = idp.oidc.Common
+
+# Module Owner
+idp.oidc.Common.plugin = net.shibboleth.oidc.common
diff --git a/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/plugin.properties b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/plugin.properties
new file mode 100644
index 0000000..34ad1d7
--- /dev/null
+++ b/oidc-common-plugin/src/main/resources/net/shibboleth/oidc/common/plugin.properties
@@ -0,0 +1,8 @@
+# Properties defining this plugin
+
+plugin.id = net.shibboleth.oidc.common
+# Only used when package manifest is not available
+plugin.version = 0.0.1
+
+# No prereqs
+#plugin.modules.required =
diff --git a/oidc-common-saml-api/pom.xml b/oidc-common-saml-api/pom.xml
index 4ccee4f..31441a2 100644
--- a/oidc-common-saml-api/pom.xml
+++ b/oidc-common-saml-api/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-saml-api</artifactId>
     <packaging>jar</packaging>
-    <name>Shibboleth OIDC Java Common Library - SAML Metadata extension API</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: SAML Metadata Extension API</name>
     <description>Schema and corresponding XMLObject interfaces for the SAML metadata extension for OIDC RPs.</description>
 
     <properties>
diff --git a/oidc-common-saml-impl/pom.xml b/oidc-common-saml-impl/pom.xml
index 2df3eab..f026057 100644
--- a/oidc-common-saml-impl/pom.xml
+++ b/oidc-common-saml-impl/pom.xml
@@ -10,7 +10,7 @@
 
     <artifactId>oidc-common-saml-impl</artifactId>
     <packaging>jar</packaging>    
-    <name>Shibboleth OIDC Java Common Library - SAML Metadata extension implementation</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: SAML Metadata Extension Implementation</name>
     <description>Implementation and OpenSAML configuration for the SAML metadata extension for OIDC RPs.</description>
     
     <properties>
diff --git a/pom.xml b/pom.xml
index 3981d56..263b075 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
     <groupId>net.shibboleth.oidc</groupId>
     <artifactId>oidc-common-parent</artifactId>
     <version>0.0.1-SNAPSHOT</version>
-    <name>Shibboleth OIDC Java Common Library Super POM</name>
+    <name>Shibboleth IdP :: Plugins :: OIDC Common :: Parent</name>
     <packaging>pom</packaging>
     <description>A POM containing properties, dependencies, etc. that are common across all Shibboleth OIDC Java common libraries.</description>
     <properties>
@@ -173,5 +173,7 @@
         <module>oidc-common-metadata-impl</module>
         <module>oidc-common-saml-api</module>
         <module>oidc-common-saml-impl</module>
+        <module>oidc-common-dist</module>
+        <module>oidc-common-plugin</module>
     </modules>
 </project>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list