[java-idp-plugin-duo] branch main updated: Javadoc improvments
Codeberg
noreply at shibboleth.net
Fri Sep 11 17:08:45 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-plugin-duo.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-duo/commit/d7cea541d487605ce11db0e3d775f1d7285430a2
The following commit(s) were added to refs/heads/main by this push:
new d7cea541 Javadoc improvments
d7cea541 is described below
commit d7cea541d487605ce11db0e3d775f1d7285430a2
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Sep 11 18:08:38 2026 +0100
Javadoc improvments
---
.../idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
index 6c3d76d9..176c98ac 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/PopulateDuoAuthenticationContext.java
@@ -248,7 +248,7 @@ public class PopulateDuoAuthenticationContext extends AbstractAuthenticationActi
// Determine if there are requirements on the max authentication age
determineMaxAuthenticationAgeRequirement(authenticationContext, duoContext, duoIntegration);
- // Determine if we want to ensure a fresh, interactive, user authentication by setting prompt if appropriate.
+ // Determine if we want to ensure a fresh, interactive user authentication by setting the prompt param.
determinePromptRequirement(duoContext);
try {
@@ -295,7 +295,7 @@ public class PopulateDuoAuthenticationContext extends AbstractAuthenticationActi
duoContext.setMaxAge(duoIntegration.getMaxAuthenticationAge());
} else if (authenticationContext.isForceAuthn()) {
- log.trace("{} Forced authentication has been requested, setting prompt to 'login' and max_age to '0'",
+ log.trace("{} Forced authentication has been requested, setting max_age to '0'",
getLogPrefix());
duoContext.setMaxAge(Duration.ZERO);
@@ -319,6 +319,7 @@ public class PopulateDuoAuthenticationContext extends AbstractAuthenticationActi
private void determinePromptRequirement(@Nonnull final DuoOIDCAuthenticationContext duoContext) {
if (duoContext.getMaxAge() != null && duoContext.getMaxAge().isZero()) {
+ log.trace("{} Maximum authentication age is 0, setting prompt to 'login'");
duoContext.setPrompt("login");
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list