Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2591

Allow subclasses of AuthenticatedWebSession to set "signedIn" field

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.3
    • 1.4.6, 1.5-M1
    • wicket-auth-roles
    • None

    Description

      My app implements "remember me" service by setting cookie in authenticate method of custom session that subclasses AuthenticatedWebSession.

      In order to automatically login user if cookie present, i need to set "signedIn" field to true when session is created, however it isn't possible since "signedIn" is private and no way to set it is available.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdonnerstag Juegen Donnerstag
            slonopotamus Marat Radchenko
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment