{"action":"closed","issue":{"url":"https://api.github.com/repos/apereo/cas/issues/2032","repository_url":"https://api.github.com/repos/apereo/cas","labels_url":"https://api.github.com/repos/apereo/cas/issues/2032/labels{/name}","comments_url":"https://api.github.com/repos/apereo/cas/issues/2032/comments","events_url":"https://api.github.com/repos/apereo/cas/issues/2032/events","html_url":"https://github.com/apereo/cas/issues/2032","id":181395349,"number":2032,"title":"SPNEGO workflow partly broken in 5.0.0.RC3","user":{"login":"FSchumacher","id":1997314,"avatar_url":"https://avatars.githubusercontent.com/u/1997314?v=3","gravatar_id":"","url":"https://api.github.com/users/FSchumacher","html_url":"https://github.com/FSchumacher","followers_url":"https://api.github.com/users/FSchumacher/followers","following_url":"https://api.github.com/users/FSchumacher/following{/other_user}","gists_url":"https://api.github.com/users/FSchumacher/gists{/gist_id}","starred_url":"https://api.github.com/users/FSchumacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FSchumacher/subscriptions","organizations_url":"https://api.github.com/users/FSchumacher/orgs","repos_url":"https://api.github.com/users/FSchumacher/repos","events_url":"https://api.github.com/users/FSchumacher/events{/privacy}","received_events_url":"https://api.github.com/users/FSchumacher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apereo/cas/labels/Already%20Fixed","name":"Already Fixed","color":"0e8a16"},{"url":"https://api.github.com/repos/apereo/cas/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/apereo/cas/labels/SPNEGO","name":"SPNEGO","color":"1d76db"},{"url":"https://api.github.com/repos/apereo/cas/labels/Spring%20Webflow","name":"Spring Webflow","color":"1d76db"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apereo/cas/milestones/15","html_url":"https://github.com/apereo/cas/milestones/5.0.0","labels_url":"https://api.github.com/repos/apereo/cas/milestones/15/labels","id":1349862,"number":15,"title":"5.0.0","description":"Major release: General Availability (Stable)","creator":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":129,"state":"open","created_at":"2015-10-12T01:28:38Z","updated_at":"2016-10-06T12:33:13Z","due_on":"2016-10-17T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-10-06T11:58:02Z","updated_at":"2016-10-06T12:33:13Z","closed_at":"2016-10-06T12:33:13Z","body":"With 5.0.0RC3 the SPNEGO workflow breaks, when the browser delivers an invalid kerberos ticket via the Negotiate header. The other possible flows, where a valid kerberos ticket is send or the browser doesn't understand the Negotiate protocol, are working as expected.\r\n\r\nThe broken workflow looks for a transition `authenticationFailure` in the state `spnego`, but finds only `error` and `success`.\r\n\r\nThe error message is:\r\n```\r\nError: No transition was matched on the event(s) signaled by the [1]\r\naction(s) that executed in this action state 'spnego' of flow 'login';\r\ntransitions must be defined to handle action result outcomes -- possible\r\nflow configuration error? Note: the eventIds signaled were:\r\n'array<String>['authenticationFailure']', while the supported set of\r\ntransitional criteria for this action state is\r\n'array<TransitionCriteria>[success, error]' \r\n```\r\n\r\nAs discussed on the mailing list I had to adapt `SpengoWebflowConfigurer` and add the transition\r\n```\r\n+        spnego.getTransitionSet().add(createTransition(CasWebflowConstants.TRANSITION_ID_AUTHENTICATION_FAILURE,\r\n+                CasWebflowConstants.STATE_ID_VIEW_LOGIN_FORM));\r\n```\r\n\r\nWith this fix, the workflow works as expected and the login view gets shown.\r\n"}}
{"actor":{"display_login":"FSchumacher"}}