[java-idp-plugin-duo] branch dev/JDUO-80 updated: Javadocs
Scott Cantor
cantor.2 at osu.edu
Thu Dec 28 16:15:22 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch dev/JDUO-80
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=12a4a56e885b0b56f4ea784cdd23a9f5cc795695
The following commit(s) were added to refs/heads/dev/JDUO-80 by this push:
new 12a4a56e Javadocs
12a4a56e is described below
commit 12a4a56e885b0b56f4ea784cdd23a9f5cc795695
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Dec 28 11:15:20 2023 -0500
Javadocs
---
.../idp/plugin/authn/mock/MockDuoOIDCClient_FAIL.java | 7 +++++++
.../idp/plugin/authn/mock/MockDuoOIDCClient_OK.java | 7 +++++++
.../authn/mock/MockDuoOIDCClient_OK_OLD_AUTH_TIME.java | 7 +++++++
.../idp/plugin/authn/mock/MockDuoOIDCClient_UNKNOWN.java | 7 +++++++
.../idp/plugin/authn/util/mock/IdPPropertyConfigurer.java | 12 +++++++++++-
5 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_FAIL.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_FAIL.java
index 8c3fb268..13ec970d 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_FAIL.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_FAIL.java
@@ -52,6 +52,13 @@ public class MockDuoOIDCClient_FAIL implements DuoOIDCClient{
@NonnullAfterInit private final DuoOIDCIntegration integration;
+ /**
+ * Constructor.
+ *
+ * @param integ integration
+ *
+ * @throws DuoClientException on error
+ */
public MockDuoOIDCClient_FAIL(final @Nonnull DuoOIDCIntegration integ) throws DuoClientException {
integration = integ;
}
diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK.java
index 08b0cfb0..50ce174d 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK.java
@@ -49,6 +49,13 @@ public class MockDuoOIDCClient_OK implements DuoOIDCClient{
@NonnullAfterInit private final DuoOIDCIntegration integration;
+ /**
+ * Constructor.
+ *
+ * @param integ integration
+ *
+ * @throws DuoClientException on error
+ */
public MockDuoOIDCClient_OK(final @Nonnull DuoOIDCIntegration integ) throws DuoClientException {
integration = integ;
}
diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK_OLD_AUTH_TIME.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK_OLD_AUTH_TIME.java
index e20c2c9e..f41c1077 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK_OLD_AUTH_TIME.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_OK_OLD_AUTH_TIME.java
@@ -50,6 +50,13 @@ public class MockDuoOIDCClient_OK_OLD_AUTH_TIME implements DuoOIDCClient{
@NonnullAfterInit private final DuoOIDCIntegration integration;
+ /**
+ * Constructor.
+ *
+ * @param integ integration
+ *
+ * @throws DuoClientException on error
+ */
public MockDuoOIDCClient_OK_OLD_AUTH_TIME(
final @Nonnull DuoOIDCIntegration integ) throws DuoClientException {
integration = integ;
diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_UNKNOWN.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_UNKNOWN.java
index e8353c7a..f82c95b1 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_UNKNOWN.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/mock/MockDuoOIDCClient_UNKNOWN.java
@@ -49,6 +49,13 @@ public class MockDuoOIDCClient_UNKNOWN implements DuoOIDCClient{
@NonnullAfterInit private final DuoOIDCIntegration integration;
+ /**
+ * Constructor.
+ *
+ * @param integ integration
+ *
+ * @throws DuoClientException on error
+ */
public MockDuoOIDCClient_UNKNOWN(final @Nonnull DuoOIDCIntegration integ) throws DuoClientException {
integration = integ;
}
diff --git a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/util/mock/IdPPropertyConfigurer.java b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/util/mock/IdPPropertyConfigurer.java
index 003b64cb..ceff4c77 100644
--- a/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/util/mock/IdPPropertyConfigurer.java
+++ b/idp-duo-impl/src/test/java/net/shibboleth/idp/plugin/authn/util/mock/IdPPropertyConfigurer.java
@@ -14,6 +14,8 @@
package net.shibboleth.idp.plugin.authn.util.mock;
+import javax.annotation.Nonnull;
+
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
@@ -25,10 +27,18 @@ import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
@Configuration
public class IdPPropertyConfigurer {
+ /**
+ * Install a property placeholder configurer.
+ *
+ * @return the object
+ *
+ * @throws Exception on error
+ */
@Bean
- public static PropertySourcesPlaceholderConfigurer properties() throws Exception {
+ @Nonnull public static PropertySourcesPlaceholderConfigurer properties() throws Exception {
final PropertySourcesPlaceholderConfigurer pspc = new PropertySourcesPlaceholderConfigurer();
pspc.setPlaceholderPrefix("%{");
+ pspc.setPlaceholderSuffix("}");
return pspc;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list