[java-identity-provider] branch main updated: IDP-2348 - Siganling authn/FlowName event out of login flow crashes
Scott Cantor
cantor.2 at osu.edu
Wed Feb 12 19:01:11 UTC 2025
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=bd59ec0fc86a1096d03df5d80c8523db0eb5186b
The following commit(s) were added to refs/heads/main by this push:
new bd59ec0fc IDP-2348 - Siganling authn/FlowName event out of login flow crashes
bd59ec0fc is described below
commit bd59ec0fc86a1096d03df5d80c8523db0eb5186b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Feb 12 14:01:08 2025 -0500
IDP-2348 - Siganling authn/FlowName event out of login flow crashes
https://shibboleth.atlassian.net/browse/IDP-2348
Added missing null check.
---
.../java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
index 8d82e8e6a..3e018b292 100644
--- a/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
+++ b/idp-authn-impl/src/main/java/net/shibboleth/idp/authn/impl/SelectAuthenticationFlow.java
@@ -194,7 +194,7 @@ public class SelectAuthenticationFlow extends AbstractAuthenticationAction {
AuthenticationResult activeResult = null;
if (!authenticationContext.isForceAuthn()) {
activeResult = authenticationContext.getActiveResults().get(flow.ensureId());
- if (!activeResult.test(profileRequestContext)) {
+ if (activeResult != null && !activeResult.test(profileRequestContext)) {
log.debug("{} Active result for flow {} not reusable, ignoring", getLogPrefix(),
activeResult.getAuthenticationFlowId());
activeResult = null;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list