[java-idp-plugin-duo] branch dev/nimbus updated: Return after failure
Phil Smart
philip.smart at jisc.ac.uk
Fri Sep 18 16:43:03 UTC 2020
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch dev/nimbus
in repository java-idp-plugin-duo.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=2eeb463b0a18a6e5f4d7ce141482b76558a640a4
The following commit(s) were added to refs/heads/dev/nimbus by this push:
new 2eeb463 Return after failure
2eeb463 is described below
commit 2eeb463b0a18a6e5f4d7ce141482b76558a640a4
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Sep 18 17:42:56 2020 +0100
Return after failure
---
.../plugin/authn/duo/impl/ValidateDuoTokenAuthenticationResult.java | 1 +
.../shibboleth/idp/plugin/authn/duo/impl/ValidateTokenSignature.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateDuoTokenAuthenticationResult.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateDuoTokenAuthenticationResult.java
index ec1cba4..8868596 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateDuoTokenAuthenticationResult.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateDuoTokenAuthenticationResult.java
@@ -167,6 +167,7 @@ public class ValidateDuoTokenAuthenticationResult extends AbstractValidationActi
handleError(profileRequestContext, authenticationContext,"Unexepected Authentication Response",
AuthnEventIds.AUTHN_EXCEPTION);
recordFailure(profileRequestContext);
+ return;
}
final Object statusObj = authStatusObject.get(DuoOIDCAuthAPI.DUO_AUTH_RESULT_STATUS_JSON_OBJECT);
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateTokenSignature.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateTokenSignature.java
index c696325..685b605 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateTokenSignature.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/ValidateTokenSignature.java
@@ -44,8 +44,8 @@ import net.shibboleth.idp.plugin.authn.duo.context.DuoOIDCAuthenticationContext;
/**
- * Action to validate the JWT signature. The JWT **must** be signed using the HMAC_SHA family.
- * Any other type, or 'none', emits and error back to the flow.
+ * Action to validate the JWT signature. The JWT **must** be signed using the HMAC_SHA family,
+ * any other type including 'none', emits an error back to the flow.
*/
public class ValidateTokenSignature extends AbstractDuoAuthenticationAction {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list