AuthUtil.send* methods should properly check the response and reset the buffer ------------------------------------------------------------------------------
Key: SLING-2318 URL: https://issues.apache.org/jira/browse/SLING-2318 Project: Sling Issue Type: Improvement Components: Authentication Affects Versions: Auth Core 1.0.6 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: Auth Core 1.1.0 Currently the send* methods in the AuthUtil class depend on the HttpServletResponse implementation to check whether the response has already been committed or not. Some use cases do not check. The methods should be improved to: -- properly check and throw the IllegalStateExceptions themselves -- reset the response buffer while preserving any headers already set -- 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