Interface DirectoryConfiguration

    • Method Detail

      • getDirectoryName

        String getDirectoryName()
        Deprecated.
        Returns the name of the directory as it appears to users, e.g. in the view user screen.
      • isCorrectlyConfigured

        boolean isCorrectlyConfigured​(net.sourceforge.jwebunit.junit.WebTester tester)
        Deprecated.
        Returns true if the active configuration matches this configuration. Requires a WebTester already logged in as an administrator.
      • configure

        @Deprecated
        default void configure​(net.sourceforge.jwebunit.junit.WebTester tester,
                               ConfluenceRpc rpc)
        Deprecated.
        Changes the active configuration to match this configuration. Requires a WebTester and ConfluenceRpc already logged in as an administrator.
      • configure

        void configure​(net.sourceforge.jwebunit.junit.WebTester tester,
                       ConfluenceRpc rpc,
                       com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
        Deprecated.
      • configureIfNecessary

        default void configureIfNecessary​(net.sourceforge.jwebunit.junit.WebTester tester,
                                          ConfluenceRpc rpc,
                                          com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
        Deprecated.
      • can

        boolean can​(DirectoryConfigurationCapability capability)
        Deprecated.
        Returns true if this configuration supports the required capability during acceptance tests, otherwise false.
      • isValidUser

        boolean isValidUser​(User user)
        Deprecated.
        Returns true if the provided user details are valid for creation on this configuration. Some LDAP servers have limitations on characters which can be used in usernames and/or display names.
      • isValidGroup

        boolean isValidGroup​(Group group)
        Deprecated.
        Returns true if the provided group details are valid for creation on this configuration. Some LDAP servers have limitations on characters which can be used in group names.