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

        Error rendering 'com.meetme.plugins.jira.gerrit-plugin:gerritreviewsmodule'. Please contact your JIRA administrators.

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: