[java-idp-plugin-duo] branch main updated: Improve log statement
Phil Smart
philip.smart at jisc.ac.uk
Tue Jan 9 14:27:11 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart 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=d5dc9e17e481b3a3fe61b65efdee0d6ef1acb59c
The following commit(s) were added to refs/heads/main by this push:
new d5dc9e17 Improve log statement
d5dc9e17 is described below
commit d5dc9e17e481b3a3fe61b65efdee0d6ef1acb59c
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Jan 9 14:27:08 2024 +0000
Improve log statement
---
.../net/shibboleth/idp/plugin/authn/duo/impl/DefaultDuoAdminClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultDuoAdminClient.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultDuoAdminClient.java
index 45663fcb..a849eac2 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultDuoAdminClient.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultDuoAdminClient.java
@@ -170,7 +170,7 @@ public class DefaultDuoAdminClient extends AbstractIdentifiableInitializableComp
final List<User> response =
doAPIRequest(request, new TypeReference<DuoAdminResponseWrapper<List<User>>>() {}).getResponse();
if (response.size() != 1) {
- throw new DuoException("User API response did not contain a single user");
+ throw new DuoException("User API response contained either no user record, or too many");
}
final User user = response.get(0);
if (user == null) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list