You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (Created) (JIRA)" <ji...@apache.org> on 2011/12/05 10:45:40 UTC
[jira] [Created] (SLING-2318) AuthUtil.send* methods should
properly check the response and reset the buffer
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
[jira] [Resolved] (SLING-2318) AuthUtil.send* methods should
properly check the response and reset the buffer
Posted by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-2318.
--------------------------------------
Resolution: Fixed
Fixed in Rev. 1210380
> 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