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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: