[ https://issues.apache.org/jira/browse/CXF-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-4428. ----------------------------------- Resolution: Fixed Fix Version/s: 2.7.0 2.6.2 > [OAuth1.0] allow to set response codes when throwing exception from > OAuthDataProvider implementation. > ----------------------------------------------------------------------------------------------------- > > Key: CXF-4428 > URL: https://issues.apache.org/jira/browse/CXF-4428 > Project: CXF > Issue Type: Wish > Components: JAX-RS Security > Affects Versions: 2.6.1 > Reporter: Evgeni Kisel > Fix For: 2.6.2, 2.7.0 > > > Currently OAuthDataProvider interface support throwing OAuthServiceException. > But handlers (request token, authorize, access token) catch this exception > and always return response status 500. > I think it will be better to allow setting custom response statuses and add > proper handling for this exception type. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira