You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Sven Homburg (JIRA)" <ji...@apache.org> on 2010/02/21 23:43:27 UTC

[jira] Created: (SHIRO-142) Jetty throws an IllegalStateException after redirect in AuthorizationFilter

Jetty throws an IllegalStateException after redirect in AuthorizationFilter
---------------------------------------------------------------------------

                 Key: SHIRO-142
                 URL: https://issues.apache.org/jira/browse/SHIRO-142
             Project: Shiro
          Issue Type: Bug
          Components: Web
    Affects Versions: Incubation
            Reporter: Sven Homburg


Jetty throws an IllegalStateException because if onAccessDenied
you send an http error code and after that you redirect to "unauthorized URL".

it is not allowed to write twice to the response buffer.

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


[jira] Resolved: (SHIRO-142) Jetty throws an IllegalStateException after redirect in AuthorizationFilter

Posted by "Les Hazlewood (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHIRO-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood resolved SHIRO-142.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.0
         Assignee: Les Hazlewood

Fix committed to trunk w/ accompanying test cases.

> Jetty throws an IllegalStateException after redirect in AuthorizationFilter
> ---------------------------------------------------------------------------
>
>                 Key: SHIRO-142
>                 URL: https://issues.apache.org/jira/browse/SHIRO-142
>             Project: Shiro
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: Incubation
>            Reporter: Sven Homburg
>            Assignee: Les Hazlewood
>             Fix For: 1.0.0
>
>
> Jetty throws an IllegalStateException because if onAccessDenied
> you send an http error code and after that you redirect to "unauthorized URL".
> it is not allowed to write twice to the response buffer.

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