[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3045) urlrewritefilter breaks basic authentication

Stephane Epardaud (JIRA) jira-events at lists.jboss.org
Mon Jun 2 11:01:20 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3045?page=comments#action_12415177 ] 
            
Stephane Epardaud commented on JBSEAM-3045:
-------------------------------------------

Now I remember what is related: JBSEAM-2921.

If urlfilter is the first filter, then it fixes JBSEAM-2921.

If urlfilter is the last filter, then it breaks web:authentication-filter.

> urlrewritefilter breaks basic authentication
> --------------------------------------------
>
>                 Key: JBSEAM-3045
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3045
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.1.GA
>            Reporter: Stephane Epardaud
>         Assigned To: Norman Richards
>             Fix For: 2.1.0.BETA1
>
>
> In web.xml, if I configure the urlwritefilter before the seamfilter, any basic authentication defined in components.xml with 	
> <web:authentication-filter url-pattern="/feed/*" auth-type="basic" realm="MyRealm" precedence="0"/>
> will be ignored.
> That is, pages in the /feed/* url space will not ask for authentication, and any security restrictions requiring those pages to be accessed as logged in users will throw exceptions.
> If the urlrewritefilter is defined within the seamfilter, then all works well, except that I'm not sure outboud rewrite rules will work correctly.
> I haven't found any documentation relating the order in which these filters must be declared in the Seam documentation.
> If this is not a bug, perhaps it would be nice to document it?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list