You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Murat Yücel (JIRA)" <ji...@apache.org> on 2009/04/01 23:31:13 UTC

[jira] Created: (WICKET-2201) Auto login issue because cookie retrieval fails

Auto login issue because cookie retrieval fails
-----------------------------------------------

                 Key: WICKET-2201
                 URL: https://issues.apache.org/jira/browse/WICKET-2201
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4-RC2
         Environment: doesnt matter. i have tried both unix and windows
            Reporter: Murat Yücel


The issue trail can be found here.
http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695816#action_12695816 ] 

Juergen Donnerstag commented on WICKET-2201:
--------------------------------------------

I've tested it with IE6, IE7, FF3 and Opera and it is working with me. Don't know about your FF plugin but a plain IE7 will do. What exactly is the problem your are experiencing. If you are not even able to open the page, than may be check your brower connection settings (proxy etc.)

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Johan Compagner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696449#action_12696449 ] 

Johan Compagner commented on WICKET-2201:
-----------------------------------------

you have to program auto login yourself. The submit of your form isnt called by wicket themselfs if there are cookies..

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Updated: (WICKET-2201) Auto login issue because cookie retrieval fails

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

Murat Yücel updated WICKET-2201:
--------------------------------

    Attachment: SignIn2.java
                SignInPanel.java

Modified code from wicket-examples

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696481#action_12696481 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

Yes and now we are getting back to my problem. Because i have made the logic for auto login, but it doesnt work. When i am creating cookies then i am either not able to retrieve them or the maxAge is set to -1 which is wrong. I have attached two modified classes from the wicket examples. Then you can verify whether or not i am doing something wrong.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695124#action_12695124 ] 

Juergen Donnerstag commented on WICKET-2201:
--------------------------------------------

Your quickstart is rather confusing, since you are seem to try to persist and read the cookies yourself. Please have a look at wicket.-examples signin and signin2 for how to do it the wicket way. If it is still doesn't work, than please update the quickstart, after stripping it down to the bare minimum necessary to validate the bug. Thanks.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695854#action_12695854 ] 

Juergen Donnerstag commented on WICKET-2201:
--------------------------------------------

Sorry, my fault. I tested with an old version. PasswordTexField doesn't get persisted any more

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695823#action_12695823 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

I have uninstalled the session plugin to FF. I did a test with FF, IE7, Chrome and Opera but browsers fail.
I am expecting to be auto login. I want to see the page after you login even though the session is gone. But instead i am seing the login page. The only difference is that the username is auto filled out.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695906#action_12695906 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

What is your suggestion? Would this work?

new PasswordTextField("password") {
                @Override
                protected boolean supportsPersistence() {
                    return true;
                }
 }

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696238#action_12696238 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

I have checked out wicket-examples and added persistence flag. Still no auto login. The persistence flag is just prefilling the password textfield.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Issue Comment Edited: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698994#action_12698994 ] 

Murat Yücel edited comment on WICKET-2201 at 4/14/09 5:10 PM:
--------------------------------------------------------------

Hi Juergen

I needed to make changes to more classes. I have added an auto login patch for wicket-1.4-rc2. You can see the changes here.

The patch works perfectly fine. When can i expect that it will be released? and will it be released for wicket-1.4-rc3???

/Murat

      was (Author: mk3dk):
    Auto login patch for wicket-1.4-rc2
  
> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Updated: (WICKET-2201) Auto login issue because cookie retrieval fails

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

Murat Yücel updated WICKET-2201:
--------------------------------

    Attachment: auto-login.patch

Auto login patch for wicket-1.4-rc2

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702839#action_12702839 ] 

Igor Vaynberg commented on WICKET-2201:
---------------------------------------

setting and reading cookies is outside the scope of wicket, this is j2ee territory. wicket forwards all your cookie requests to the underlying httpservletrequest so if something is not working it is likely some bug on your side.

if you have a project that demonstrates the problem maybe someone will look into it.

looking into your "cookie-project.rar", there cookies are written and read just fine when the code actually executes, eg WicketApplication:65 and 66 produce the following output:

email = test
password = test

if you change your homepage to extend authenticatedpage so the code actually has a chance to execute.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>            Assignee: Igor Vaynberg
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Updated: (WICKET-2201) Auto login issue because cookie retrieval fails

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

Murat Yücel updated WICKET-2201:
--------------------------------

    Attachment: cookie-project.rar

a quickstart project which has the issue.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695790#action_12695790 ] 

Juergen Donnerstag commented on WICKET-2201:
--------------------------------------------

Murat,

Try this:
1) go to http://www.wicket-library.com/wicket-examples/signin2 and sign in with "wicket" and "wicket".
2) the application will forward you to the home page
3) close your browser
4) open the browser
5) go to http://www.wicket-library.com/wicket-examples/signin2 again and you will immediately be forwarded to the home page. 

That works because 
- in step 1 Wicket will create two cookies for you: login name and password (encrypted).
- in step 5 Wicket will automatically load your login name and password with the cookie values stored in step 1 (decrypting the password). Still before the login page is rendered these values are used to authenticate the user and if successful the login page is skipped and the user gets redirected to the original url. The example application doesn't use a database to authenticate a user but that is the only source code you need to change.

Juergen

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Resolved: (WICKET-2201) Auto login issue because cookie retrieval fails

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

Igor Vaynberg resolved WICKET-2201.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Igor Vaynberg

wicket does not provide any kind of auto-login functionality, you have to implement that yourself. you have to set your own cookies as well. i have implemented autologin on numeral occasions and it has worked just fine, the simplest way to do this is to check for the cookie inside the auth strategy and instead of redirecting to the login page authenticate the user if the cookie is correct.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>            Assignee: Igor Vaynberg
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699121#action_12699121 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

One thing that i miss is that the username should still be autofilled when logging out

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695795#action_12695795 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

Hi Juergen

Thanks for the quick response. I have just tested the flow with the provided url, but it doesnt work for me.
I have tested with IE7. I dont know if the browser has any meaning. I cannot use FF because it will remember
my session even if i close the browser. I have a session plugin.

/Murat

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702836#action_12702836 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

Hi Igor

I think you are misunderstanding the issue. The problem is not that i want wicket to implement auto login functionality. Then i would have written feature request. The problem is that i am not able to make the auto login functionality in wicket-1.4rc2. The cookie save or retrieval is somehow broken.

The code i was using before is no longer working after an upgrade to a never wicket version. If you have an example which is working for wicket-1.4rc2 then you are more than welcome to send it to me.

Johan has send an example but the changes requires changes in the wicket core.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>            Assignee: Igor Vaynberg
>         Attachments: auto-login.patch, cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Murat Yücel (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695135#action_12695135 ] 

Murat Yücel commented on WICKET-2201:
-------------------------------------

Hi Juergen

The auto-login part is not covered in the wicket-examples mentioned. The part that is mentioned is auto persistens. That works perfectly fine. 

My problem is that i want to create a cookie which i can read again so i can check the values against the database and auto login the user.

If you read the nabble thread then Peter from the j-trac project is doing the same thing. And i am pretty sure this code worked once in wicket 1.3.x, but now i doesnt work anymore.

/Murat

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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


[jira] Commented: (WICKET-2201) Auto login issue because cookie retrieval fails

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698178#action_12698178 ] 

Juergen Donnerstag commented on WICKET-2201:
--------------------------------------------

Please have a look at 2213 and the patch attacht there. Apply the changes made to the SignIn2.java only. May be you need to apply the CookieValuePersister changes as well.

> Auto login issue because cookie retrieval fails
> -----------------------------------------------
>
>                 Key: WICKET-2201
>                 URL: https://issues.apache.org/jira/browse/WICKET-2201
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4-RC2
>         Environment: doesnt matter. i have tried both unix and windows
>            Reporter: Murat Yücel
>         Attachments: cookie-project.rar, SignIn2.java, SignInPanel.java
>
>
> The issue trail can be found here.
> http://www.nabble.com/Cookie-retrieval-issue.-td22420819.html

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