[JIRA] (IDP-1940) Runtime exception when flow event lacks transition rule

John Meyer (Jira) jira at shibboleth.atlassian.net
Sat Apr 16 03:02:56 UTC 2022


John Meyer ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A56d3d322-4e85-4f23-bdfb-818c140975c7 ) *created* an issue

Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/IDP-1940?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 ) IDP-1940 ( https://shibboleth.atlassian.net/browse/IDP-1940?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 ) Runtime exception when flow event lacks transition rule ( https://shibboleth.atlassian.net/browse/IDP-1940?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 4.1.6 Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Spring Web Flow Created: 15/Apr/22 11:02 PM Environment:

tier/shib-idp:4.1.6_20220401

Priority: Trivial Reporter: John Meyer ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A56d3d322-4e85-4f23-bdfb-818c140975c7 )

When configuring a "context-check" interceptor flow (following the functional mode example available here: https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631716/ContextCheckInterceptConfiguration ) without configuring a corresponding transition rule in conf/intercept/intercept-events-flow.xml, a runtime exception occurs.

shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,814 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.PopulateProfileInterceptorContext:116] - Profile Action PopulateProfileInterceptorContext: Installing flow intercept/context-check into interceptor context
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,816 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.FilterFlowsByNonBrowserSupport:52] - Profile Action FilterFlowsByNonBrowserSupport: Request does not have non-browser requirement, nothing to do
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,816 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.SelectProfileInterceptorFlow:101] - Profile Action SelectProfileInterceptorFlow: Checking flow intercept/context-check for applicability...
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,816 - DEBUG [net.shibboleth.idp.profile.interceptor.impl.SelectProfileInterceptorFlow:84] - Profile Action SelectProfileInterceptorFlow: Selecting flow intercept/context-check
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,970 - DEBUG [net.shibboleth.idp.profile.logic.SimpleAttributePredicate:90] - Checking for attribute: eduGoogleEula
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,971 - DEBUG [net.shibboleth.idp.profile.logic.SimpleAttributePredicate:132] - Found matching value (Y) in attribute eduGoogleEula
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,971 - DEBUG [net.shibboleth.idp.profile.logic.AbstractAttributePredicate:114] - Context satisfied requirements
shib-idp;idp-process.log;dev;nothing;2022-04-15 01:33:34,981 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - Uncaught runtime exception
shib-idp;idp-process.log;dev;nothing;java.lang.IllegalArgumentException: Cannot find state with id 'HandleError' in flow 'intercept/context-check' -- Known state ids are 'array<String>['CheckForFunction', 'CallFunction', 'CheckCondition', 'proceed', 'InvalidEvent', 'InvalidProfileContext', 'MessageExpired', 'MessageReplay', 'MessageAuthenticationError', 'AttributeReleaseRejected', 'TermsRejected', 'ContextCheckDenied', 'ImpersonationViolation', 'RestartAuthentication', 'RuntimeException', 'NoPassive', 'InvalidCSRFToken', 'UpdateSecurityParameters', 'LogRuntimeException', 'GoogleEulaRequired']'
shib-idp;idp-process.log;dev;nothing;	at org.springframework.webflow.engine.Flow.getStateInstance(Flow.java:343)
shib-idp;idp-warn.log;dev;nothing;2022-04-15 01:33:34,981 - ERROR [net.shibboleth.idp.profile.interceptor:-2] - Uncaught runtime exception

( https://shibboleth.atlassian.net/browse/IDP-1940#add-comment?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-1940#add-comment?atlOrigin=eyJpIjoiYjk4ZTU0MjJiZjI1NDBhOThjODM2MDJmOTUwZjI2MTgiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100198- sha1:943baf4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220416/917fe2e3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-364a31b9-604e-43ab-8019-4165ad8f193f
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220416/917fe2e3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-e36e8142-53a6-4f58-b460-4efa5b36f8a4
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220416/917fe2e3/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-cc483f08-10ba-4571-a14b-8ab650170c98
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220416/917fe2e3/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-467a33f0-78ad-4fbe-b094-a4ee4704e1b5
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220416/917fe2e3/attachment-0007.png>


More information about the commits mailing list