When accessing the restricted delorean page and requesting JSON, the response status is 200 even though an authentication failure was raised (not visible as the security method does nothing at the moment).
Perhaps the security method should specify a response status like some of the others in the Error class, for example:
public ErrorResponse security(Exception e) {
returnnew JsonErrorResponse(HttpServletResponse.SC_UNAUTHORIZED).message("error", e.getMessage());
}
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