Steve Loughran created SLIDER-953: ------------------------------------- Summary: security auth failures should return exit code EXIT_UNAUTHORIZED "41" Key: SLIDER-953 URL: https://issues.apache.org/jira/browse/SLIDER-953 Project: Slider Issue Type: Improvement Components: client, security Affects Versions: Slider 0.81 Reporter: Steve Loughran Assignee: Steve Loughran
We have a specific exit code for auth failures, {{EXIT_UNAUTHORIZED }}, which we map to "41" (== HTTP 401), but aren't using this in the code. Instead BadConfigException is raised. Change this so that whenever the problem is clearly a security auth failure or config problem raise a {{SliderException}} with the relevant exit code -- This message was sent by Atlassian JIRA (v6.3.4#6332)