Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2269

GAE Login Widget Not Initialized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.1.2.RELEASE
    • Fix Version/s: 1.1.3.RELEASE
    • Component/s: GAE, GWT
    • Labels:
      None
    • Environment:
      Apache Maven 2.2.1 (r801777; 2009-08-06 22:16:01+0300)
      Java version: 1.6.0_22
      Default locale: en_GB, platform encoding: Cp1252
      OS name: "windows 7" version: "6.1" arch: "amd64" Family: "windows"

      Description

      The call to initialize the GAE login-widget driver has been removed from generated GWT source code with Roo version 1.1.2. This is causing security logic to malfunction for the scaffold app.

      The affected method is init() in ~.client.scaffold.ScaffoldDesktopApp.java

      Roo 1.1.1 generates:
      // AppEngine user authentication
      new GaeLoginWidgetDriver(requestFactory).setWidget(shell.loginWidget);
      new ReloadOnAuthenticationFailure().register(eventBus);

      Roo 1.1.2 generates:
      // AppEngine user authentication
      // AppEngine user authentication
      new ReloadOnAuthenticationFailure().register(eventBus);

      Adding the missing line back in fixes the problem.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            coner Cengiz ├ľner
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified