Class TestPropertiesLdapSchemaConfig

  • All Implemented Interfaces:
    com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig

    public class TestPropertiesLdapSchemaConfig
    extends Object
    implements com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
    • Constructor Detail

      • TestPropertiesLdapSchemaConfig

        public TestPropertiesLdapSchemaConfig()
    • Method Detail

      • getUserDnWithDc

        public String getUserDnWithDc​(String userName)
        Description copied from interface: com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Create a user DN with domain component given the username
        Specified by:
        getUserDnWithDc in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Parameters:
        userName - User's username
        Returns:
        A valid DN with domain component that refers to the user
      • getUserDn

        public String getUserDn​(String userName)
        Description copied from interface: com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Create a user DN string given the username
        Specified by:
        getUserDn in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Parameters:
        userName - User's username
        Returns:
        A valid DN that refers to the user
      • getGroupRdnWithDc

        public String getGroupRdnWithDc​(String groupName)
        Description copied from interface: com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Create a group DN with domain component given the group name
        Specified by:
        getGroupRdnWithDc in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Parameters:
        groupName - Name of the group
        Returns:
        A valid DN with domain component that refers to the group
      • getGroupRdn

        public String getGroupRdn​(String groupName)
        Description copied from interface: com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Create a group DN string given the group name
        Specified by:
        getGroupRdn in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
        Parameters:
        groupName - Name of the group
        Returns:
        A valid DN that refers to the group
      • createUserAttributes

        public Attributes createUserAttributes​(User user)
        Specified by:
        createUserAttributes in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • createGroupAttributes

        public Attributes createGroupAttributes​(String groupName)
        Specified by:
        createGroupAttributes in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • setPasswordAttribute

        public void setPasswordAttribute​(org.springframework.LdapDataEntry ldapUser,
                                         String newPassword)
        Specified by:
        setPasswordAttribute in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getEmailAttributeName

        public String getEmailAttributeName()
        Specified by:
        getEmailAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getSurnameAttributeName

        public String getSurnameAttributeName()
        Specified by:
        getSurnameAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getGivenNameAttributeName

        public String getGivenNameAttributeName()
        Specified by:
        getGivenNameAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getGroupUsernamesAttributeName

        public String getGroupUsernamesAttributeName()
        Specified by:
        getGroupUsernamesAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getUserNameAttributeName

        public String getUserNameAttributeName()
        Specified by:
        getUserNameAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getGroupNameAttributeName

        public String getGroupNameAttributeName()
        Specified by:
        getGroupNameAttributeName in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getUsersBaseDn

        public String getUsersBaseDn()
        Specified by:
        getUsersBaseDn in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getGroupsBaseDn

        public String getGroupsBaseDn()
        Specified by:
        getGroupsBaseDn in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getAllUsersSelector

        public String getAllUsersSelector()
        Specified by:
        getAllUsersSelector in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig
      • getAllGroupsSelector

        public String getAllGroupsSelector()
        Specified by:
        getAllGroupsSelector in interface com.atlassian.confluence.it.usermanagement.LdapServer.LdapSchemaConfig