[java-identity-provider] branch master updated: Replace deprecated method calls.
Scott Cantor
cantor.2 at osu.edu
Tue Aug 4 20:15:29 UTC 2020
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=cde94d148c6b78281baca84dd2052477f8563bbd
The following commit(s) were added to refs/heads/master by this push:
new cde94d148 Replace deprecated method calls.
cde94d148 is described below
commit cde94d148c6b78281baca84dd2052477f8563bbd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 4 16:16:39 2020 -0400
Replace deprecated method calls.
---
.../net/shibboleth/idp/authn/duo/impl/ValidateDuoWebResponse.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/duo/impl/ValidateDuoWebResponse.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/duo/impl/ValidateDuoWebResponse.java
index f340e11c4..2416f5493 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/duo/impl/ValidateDuoWebResponse.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/duo/impl/ValidateDuoWebResponse.java
@@ -166,7 +166,7 @@ public class ValidateDuoWebResponse extends AbstractValidationAction {
if (signedResponse == null || signedResponse.isEmpty()) {
log.warn("{} No signed Duo response in the request", getLogPrefix());
ActionSupport.buildEvent(profileRequestContext, AuthnEventIds.NO_CREDENTIALS);
- recordFailure();
+ recordFailure(profileRequestContext);
return false;
}
@@ -186,7 +186,7 @@ public class ValidateDuoWebResponse extends AbstractValidationAction {
} catch (final InvalidKeyException | NoSuchAlgorithmException | DuoWebException | IOException e) {
log.warn("{} Error validating signed Duo response for username '{}'", getLogPrefix(), username, e);
handleError(profileRequestContext, authenticationContext, e, AuthnEventIds.INVALID_CREDENTIALS);
- recordFailure();
+ recordFailure(profileRequestContext);
return;
}
@@ -195,10 +195,10 @@ public class ValidateDuoWebResponse extends AbstractValidationAction {
getLogPrefix(), usernameFromDuo, username);
handleError(profileRequestContext, authenticationContext, AuthnEventIds.INVALID_CREDENTIALS,
AuthnEventIds.INVALID_CREDENTIALS);
- recordFailure();
+ recordFailure(profileRequestContext);
} else {
log.info("{} Duo authentication succeeded for '{}'", getLogPrefix(), usernameFromDuo);
- recordSuccess();
+ recordSuccess(profileRequestContext);
buildAuthenticationResult(profileRequestContext, authenticationContext);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list