phamthaithinh / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

urlrewrite with Authentication Filter #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Implementing urlrewrite filter
2. Implementing my custom Authentication Filter 

What is the expected output? What do you see instead?

Authentication Filter doesn't work. I tried a few different url pattern types 
but I can't get a correct result.

What version of the product are you using? On what operating system?
urlrewritefilter 4.0.3, Glassfish 3.1.2.2

Please provide any additional information below.

I'm attaching my AuthenticationFilter.java file.

Here are my rules under urlrewrite.xml

    <rule>
        <from>/$</from>
        <to>/site/community/home.xhtml</to>
    </rule>
    <rule>
        <from>/login$</from>
        <to>/site/community/login.xhtml</to>
    </rule>

Original issue reported on code.google.com by ozub...@gmail.com on 28 Nov 2012 at 12:35

Attachments: