OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-2725

pax wicket throws classcast exception during authentification in admin ui unittests

    Details

      Description

      The unit tests extending AbstractLoginTest using the method mockAuthentication() throw an ClassCastException at

      public static AuthenticatedWebSession get()
      {
      return (AuthenticatedWebSession)Session.get();
      }

      because Session.get() returns an org.apache.wicket.protocol.http.WebSession instead of an org.apache.wicket.authentication.AuthenticatedWebSession

        Gliffy Diagrams

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          Lukas Stampf added a comment -

          You will need OPENENGSB-2724 to make the tests runnable.

          Show
          Lukas Stampf added a comment - You will need OPENENGSB-2724 to make the tests runnable.
          Hide
          Andreas Pieber added a comment -

          this one is only a problem of the master

          Show
          Andreas Pieber added a comment - this one is only a problem of the master

            People

            • Assignee:
              Andreas Pieber
              Reporter:
              Lukas Stampf
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: