You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Henderson (JIRA)" <ji...@apache.org> on 2008/02/17 11:38:34 UTC

[jira] Created: (WICKET-1352) authentication invalid redirection when wicket filter is /*

authentication invalid redirection when wicket filter is /*
-----------------------------------------------------------

                 Key: WICKET-1352
                 URL: https://issues.apache.org/jira/browse/WICKET-1352
             Project: Wicket
          Issue Type: Bug
          Components: wicket-auth-roles
    Affects Versions: 1.3.1
         Environment: Glassfish on Linux, jdk 1.6.03
            Reporter: Peter Henderson


Take the example authentication application (examples/authentication), change the wicket filter from /authentication/* to /*

When a user logs in for the 1st time, they are redirected to a url which is below the application.

eg.

Sign in page is 
http://localhost:8080/WicketTest3/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage

Correct login redirects to 
http://localhost:8080/index.jsp?wicket:bookmarkablePage=%3Aauthentication.AdminPage

Note the missing "WicketTest3"

Changing the servlet filter to something other than /* (in the example below it is /test/*) does not show this problem.

e.g.
http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage

logged in page is
http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.AdminPage


I hope I've explained this problem correctly.


Regards

Peter Henderson.

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


[jira] Updated: (WICKET-1352) authentication invalid redirection when wicket filter is /*

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

Johan Compagner updated WICKET-1352:
------------------------------------

    Fix Version/s: 1.3.3
         Assignee: Alastair Maw

> authentication invalid redirection when wicket filter is /*
> -----------------------------------------------------------
>
>                 Key: WICKET-1352
>                 URL: https://issues.apache.org/jira/browse/WICKET-1352
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-auth-roles
>    Affects Versions: 1.3.1
>         Environment: Glassfish on Linux, jdk 1.6.03
>            Reporter: Peter Henderson
>            Assignee: Alastair Maw
>             Fix For: 1.3.3
>
>
> Take the example authentication application (examples/authentication), change the wicket filter from /authentication/* to /*
> When a user logs in for the 1st time, they are redirected to a url which is below the application.
> eg.
> Sign in page is 
> http://localhost:8080/WicketTest3/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> Correct login redirects to 
> http://localhost:8080/index.jsp?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> Note the missing "WicketTest3"
> Changing the servlet filter to something other than /* (in the example below it is /test/*) does not show this problem.
> e.g.
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> logged in page is
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> I hope I've explained this problem correctly.
> Regards
> Peter Henderson.

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


[jira] Resolved: (WICKET-1352) authentication invalid redirection when wicket filter is /*

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

Alastair Maw resolved WICKET-1352.
----------------------------------

    Resolution: Duplicate

This duplicates WICKET-1205.

> authentication invalid redirection when wicket filter is /*
> -----------------------------------------------------------
>
>                 Key: WICKET-1352
>                 URL: https://issues.apache.org/jira/browse/WICKET-1352
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-auth-roles
>    Affects Versions: 1.3.1
>         Environment: Glassfish on Linux, jdk 1.6.03
>            Reporter: Peter Henderson
>            Assignee: Alastair Maw
>             Fix For: 1.3.3
>
>
> Take the example authentication application (examples/authentication), change the wicket filter from /authentication/* to /*
> When a user logs in for the 1st time, they are redirected to a url which is below the application.
> eg.
> Sign in page is 
> http://localhost:8080/WicketTest3/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> Correct login redirects to 
> http://localhost:8080/index.jsp?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> Note the missing "WicketTest3"
> Changing the servlet filter to something other than /* (in the example below it is /test/*) does not show this problem.
> e.g.
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> logged in page is
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> I hope I've explained this problem correctly.
> Regards
> Peter Henderson.

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


[jira] Updated: (WICKET-1352) authentication invalid redirection when wicket filter is /*

Posted by "Frank Bille Jensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Bille Jensen updated WICKET-1352:
---------------------------------------

    Fix Version/s:     (was: 1.3.3)

> authentication invalid redirection when wicket filter is /*
> -----------------------------------------------------------
>
>                 Key: WICKET-1352
>                 URL: https://issues.apache.org/jira/browse/WICKET-1352
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-auth-roles
>    Affects Versions: 1.3.1
>         Environment: Glassfish on Linux, jdk 1.6.03
>            Reporter: Peter Henderson
>            Assignee: Alastair Maw
>
> Take the example authentication application (examples/authentication), change the wicket filter from /authentication/* to /*
> When a user logs in for the 1st time, they are redirected to a url which is below the application.
> eg.
> Sign in page is 
> http://localhost:8080/WicketTest3/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> Correct login redirects to 
> http://localhost:8080/index.jsp?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> Note the missing "WicketTest3"
> Changing the servlet filter to something other than /* (in the example below it is /test/*) does not show this problem.
> e.g.
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.MySignInPage
> logged in page is
> http://localhost:8080/WicketTest3/test/?wicket:bookmarkablePage=%3Aauthentication.AdminPage
> I hope I've explained this problem correctly.
> Regards
> Peter Henderson.

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