directory order sequence for multiple directories

Yao Chang Hsu September 13, 2022

Hi, 

I found one article about multiple directories in confluence as provided below.

https://confluence.atlassian.com/doc/managing-multiple-directories-229838494.html

How to decide it's order, does it by which field for order sequence? Which one is the first order ?

id

Display_name

Directory_id

1

Ann demo@test (test demo user)

87162816

2

Ann demo@test (test demo user)

72891886

3

Ann demo@test (test demo user)

21396409

4

Ann demo@test (test demo user)

78195531

5

Ann demo@test (test demo user)

708919001

1 comment

Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 13, 2022

I'd say the page you linked contains everything important, namely:

The directory order is significant during the authentication of the user, in cases where the same user exists in multiple directories. When a user attempts to log in, the application will search the directories in the order specified, and will use the credentials (password) of the first occurrence of the user to validate the login attempt.

So in a nutshell, if a username is trying to log in, the first directory where this username exists will be taken and password validated against it.

If you have multiple users of same username in Confluence, then only the first one (again, top to bottom) will be usable and the other ones will not be available unless directory order changes - and you do not want to usually change directory order, without a specific reason or preparation because it will switch accounts for people that may exist in multiple directories.

Ideally, you want a username to only exist once in one directory, in which case the order won't matter a whole lot, but since authentication is done top to bottom your primary directory should be on top.

 

I also need to note that some integrations / automations / API calls which handle creation of users will create the user in top-most directory. You can specify the directory when creating a user manually, but a lot of API calls don't care and will just create the user in the first one and call it a day (which may also be a factor in deciding which directory should come first in order).

Yao Chang Hsu September 18, 2022

@Radek Dostál 

Thanks a lot. Which field in confluence database is order accordance? 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events