felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-1983) WebConsole HttpContext should flush response after setting response status
Date Wed, 13 Jan 2010 10:13:55 GMT
WebConsole HttpContext should flush response after setting response status
--------------------------------------------------------------------------

                 Key: FELIX-1983
                 URL: https://issues.apache.org/jira/browse/FELIX-1983
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-2.0.4
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: webconsole-2.0.6


The Web Console uses its own HttpContext implementation to handle authentication. When authentication
is missing, it sets (or currently sendError) the response status 401/UNAUTHENTICATED but does
not flush the response.

The Felix Http Base code overwrites this to 403/FORBIDDEN if the response is not committed.

So to ensure, the correct status is really sent, the handleSecurity implementation must flush
the response.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message