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:46:20 UTC

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

     [ https://issues.apache.org/jira/browse/CMIS-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-669.
---------------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.10.0
    
> 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
>             Fix For: OpenCMIS 0.10.0
>
>
> 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