Class BaseIntegrationTest

    • Constructor Detail

      • BaseIntegrationTest

        public BaseIntegrationTest()
    • Method Detail

      • setUpAuthentication

        public final void setUpAuthentication()
        Setup the authentication for the test.

        The default is to grant an administrator authority to the current user.

      • tearDownSecurityContext

        public final void tearDownSecurityContext()
        Clear the SecurityContextHolder so that subsequent tests don't inherit authentication.