public class AutoGroupAdderTest extends CrowdAcceptanceTestCase
  • Field Details

  • Constructor Details

    • AutoGroupAdderTest

      public AutoGroupAdderTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class CrowdAcceptanceTestCase
      Throws:
      Exception
    • getLoginStatusResourceReturnsExpectedContent

      public void getLoginStatusResourceReturnsExpectedContent()
      This resource is used by the JavaScript. This is here for a specific failure on upgrade to Tomcat 8, so it can be tested directly rather than waiting for the scripts to time out.
    • autoAddWithInternalDirectory

      public void autoAddWithInternalDirectory()
    • autoAddWithDelegatedDirectory

      public void autoAddWithDelegatedDirectory() throws IOException
      Throws:
      IOException
    • autoAddWithLDAPDirectory

      public void autoAddWithLDAPDirectory() throws Exception
      Throws:
      Exception
    • autoAddWithRemoteCrowdDirectory

      public void autoAddWithRemoteCrowdDirectory() throws Exception
      Throws:
      Exception
    • autoAddWithRemoteCrowdDirectoryUsingDelegatedDirectory

      public void autoAddWithRemoteCrowdDirectoryUsingDelegatedDirectory() throws IOException
      Tests that group auto add works when remote crowd directory connects to delegated authentication directory and the user is added on successful auth.
      Throws:
      IOException
    • autoAddWithRemoteCrowdDirectoryUsingDelegatedDirectory_NoGroup

      public void autoAddWithRemoteCrowdDirectoryUsingDelegatedDirectory_NoGroup() throws IOException
      Tests that group auto add does add user to a group when remote crowd directory connecting to delegated authentication directory does not contain the group yet. (i.e. the group is created in the local cache on authentication)
      Throws:
      IOException
    • autoAddOnlyAddingGroupsOnce

      public void autoAddOnlyAddingGroupsOnce()
      Tests that user will get groups added the first time they log in, but no new directories will be added after that.
    • autoAddWithInternalDirectoryIsTriggeredBySessionCreationWithoutPassword

      public void autoAddWithInternalDirectoryIsTriggeredBySessionCreationWithoutPassword() throws Exception
      Throws:
      Exception
    • autoAddGroupMembershipsAreSynchronizedAfterLogin

      public void autoAddGroupMembershipsAreSynchronizedAfterLogin() throws Exception
      Throws:
      Exception