You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/10/26 17:27:27 UTC

[jira] [Created] (SLIDER-953) security auth failures should return exit code EXIT_UNAUTHORIZED "41"

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)