• Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5-M1
    • Component/s: wicket
    • Labels:


      At the very beginning of Wicket we introduced FormComponent.setPersistence with the idea to make creating Login panel very easy. Basically Wicket would deal with the Cookie handling for the login details. Now some years later I think it is evident that this feature is not very useful:

      • it basically is used for login panels only
      • even in our examples Password.setPersistence is false which means that "rememberMe" doesn't really work. Only the user name is stored in a Cookie
      • forcing formComponent.getPageRelativePath() as the Cookie name is quite restrictive
      • you can not combine username and password into a single Cookie and e.g. decrypt it for safety reasons

      I'd like to propose to remove all that code from core.

      I've attached a patch for 1.4RC2 which remove that code and I updated SignInPanel and the example to show how easy it still is.

      1. wicket-2213.patch
        85 kB
        Juergen Donnerstag

        Issue Links


          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          161d 3h 34m 1 Juergen Donnerstag 14/Sep/09 20:02
          Juergen Donnerstag made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Juergen Donnerstag added a comment -


          Juergen Donnerstag added a comment - fixed
          Juergen Donnerstag made changes -
          Assignee Juergen Donnerstag [ jdonnerstag ]
          Juergen Donnerstag made changes -
          Link This issue relates to WICKET-2132 [ WICKET-2132 ]
          Juergen Donnerstag made changes -
          Link This issue is related to WICKET-2201 [ WICKET-2201 ]
          Juergen Donnerstag made changes -
          Field Original Value New Value
          Attachment wicket-2213.patch [ 12404752 ]
          Juergen Donnerstag created issue -


            • Assignee:
              Juergen Donnerstag
              Juergen Donnerstag
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: