[java-idp-plugin-duo] branch main updated: Move in DuoWeb dependency for now, along with Principal serializer.
Scott Cantor
cantor.2 at osu.edu
Tue Jul 18 16:38:28 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=342103186fd104c25926aa0109df7323fa7c40ce
The following commit(s) were added to refs/heads/main by this push:
new 3421031 Move in DuoWeb dependency for now, along with Principal serializer.
3421031 is described below
commit 342103186fd104c25926aa0109df7323fa7c40ce
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jul 18 12:37:58 2023 -0400
Move in DuoWeb dependency for now, along with Principal serializer.
---
idp-duo-impl/pom.xml | 88 +++++++++++++---------
.../META-INF/net.shibboleth.idp/postconfig.xml | 8 ++
2 files changed, 62 insertions(+), 34 deletions(-)
diff --git a/idp-duo-impl/pom.xml b/idp-duo-impl/pom.xml
index 8ebcefb..b71f532 100644
--- a/idp-duo-impl/pom.xml
+++ b/idp-duo-impl/pom.xml
@@ -27,6 +27,11 @@
<artifactId>idp-plugin-duo-api</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.duosecurity</groupId>
+ <artifactId>DuoWeb</artifactId>
+ </dependency>
+
<!-- Provided dependencies -->
<dependency>
<groupId>net.shibboleth.oidc</groupId>
@@ -38,49 +43,37 @@
<artifactId>oidc-common-crypto-impl</artifactId>
<scope>provided</scope>
</dependency>
+
<dependency>
<groupId>${idp.groupId}</groupId>
<artifactId>idp-session-api</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>com.nimbusds</groupId>
- <artifactId>nimbus-jose-jwt</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
<groupId>${idp.groupId}</groupId>
<artifactId>idp-authn-api</artifactId>
<scope>provided</scope>
</dependency>
- <!--
- Needed to reuse Duo AuthAPI code from original flow.
- Can be removed if/when original flow is discontinued.
- -->
+ <!-- Needed to supply auditing-aware base class. -->
<dependency>
<groupId>${idp.groupId}</groupId>
<artifactId>idp-authn-impl</artifactId>
- <version>${idp.version}</version>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>${opensaml.groupId}</groupId>
- <artifactId>opensaml-messaging-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <scope>provided</scope>
- </dependency>
<dependency>
- <groupId>jakarta.servlet</groupId>
- <artifactId>jakarta.servlet-api</artifactId>
+ <groupId>${idp.groupId}</groupId>
+ <artifactId>idp-profile-api</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>${idp.groupId}</groupId>
+ <artifactId>idp-ui</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
- <groupId>${spring-webflow.groupId}</groupId>
- <artifactId>spring-webflow</artifactId>
+ <groupId>${opensaml.groupId}</groupId>
+ <artifactId>opensaml-messaging-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
@@ -94,6 +87,7 @@
<artifactId>guava</artifactId>
<scope>provided</scope>
</dependency>
+
<dependency>
<groupId>${spring.groupId}</groupId>
<artifactId>spring-core</artifactId>
@@ -104,16 +98,47 @@
<artifactId>spring-beans</artifactId>
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>${idp.groupId}</groupId>
- <artifactId>idp-profile-api</artifactId>
- <scope>provided</scope>
- </dependency>
+ <dependency>
+ <groupId>${spring-webflow.groupId}</groupId>
+ <artifactId>spring-webflow</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>jakarta.servlet</groupId>
+ <artifactId>jakarta.servlet-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.nimbusds</groupId>
+ <artifactId>nimbus-jose-jwt</artifactId>
+ <scope>provided</scope>
+ </dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ <scope>provided</scope>
+ </dependency>
<!-- Test Dependencies -->
<dependency>
@@ -146,11 +171,6 @@
<artifactId>idp-profile-impl</artifactId>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>net.shibboleth.idp</groupId>
- <artifactId>idp-authn-impl</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>net.shibboleth.idp</groupId>
<artifactId>idp-profile-api</artifactId>
diff --git a/idp-duo-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/idp-duo-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 2c16b5d..0e3fa3d 100644
--- a/idp-duo-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/idp-duo-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -31,6 +31,14 @@
</property>
</bean>
+ <!-- Principal serialization support. -->
+ <bean p:id="duo" class="net.shibboleth.idp.authn.principal.GenericPrincipalService"
+ c:claz="net.shibboleth.idp.authn.duo.DuoPrincipal">
+ <constructor-arg name="serializer">
+ <bean class="net.shibboleth.idp.authn.principal.SimplePrincipalSerializer"
+ c:claz="net.shibboleth.idp.authn.duo.DuoPrincipal" c:name="DUO" />
+ </constructor-arg>
+ </bean>
<!-- Controller implementation -->
<bean id="shibboleth.DuoOIDCAuthnController"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list