Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2318

AuthUtil.send* methods should properly check the response and reset the buffer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Auth Core 1.0.6
    • Auth Core 1.1.0
    • Authentication
    • None

    Description

      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

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: