You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/06/10 10:24:19 UTC

[jira] [Created] (CMIS-669) Allow server implementations to return the HTTP status code 401

Florian Müller created CMIS-669:
-----------------------------------

             Summary: Allow server implementations to return the HTTP status code 401
                 Key: CMIS-669
                 URL: https://issues.apache.org/jira/browse/CMIS-669
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-server
    Affects Versions: OpenCMIS 0.9.0
            Reporter: Florian Müller
            Assignee: Florian Müller
            Priority: Minor


OpenCMIS provides the exception CmisUnauthorizedException, which helps clients to detect that the server returned the HTTP status code 401. This exception is not defined in the CMIS specification and therefore derived from CmisRuntimeException. Throwing this exception on the server side, results in the HTTP status code 500 (-> runtime exception). The AtomPub and the Browser binding should return status code 401 instead. (There is no equivalent for the Web Services binding.) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira