Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,484
Community Members
 
Community Events
165
Community Groups

Can Crowd try the next directory after failed authentication?

This isn't so much about a failover directory, but rather if the same user exists in two directories, and the account happens to be disabled/locked in the first directory.  Normally crowd gets the rejection from the first directory and doesn't try to authenticate the user against the next directory.  Is there a way to configure it such that Crowd will attempt to authenticate the username/password against all configured directories?

In my case, I have two delegated authentication directories against two trusted domains.  Users have gone back and forth between the two domains over the years, and IT doesn't have much of an appetite to do some housecleaning.

1 answer

Hi joe.chlimoun@l3harris.com 

As per Atlassian's documentation

If the user belongs to more than one directory, Crowd uses the first directory in which the user appears, as determined by the directory order.

What you get is thus Crowd's standard behaviour. I'm afraid there is no way to change it by configuration.

What about handling it on the application side? Could I add a second application entry with the directory order reversed, then add a second crowd server to the application under the new application name?

ie, can Jira be configured to fail to the next directory if authentication fails?

I'm afraid this won't work. As per Jira documentation:

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

320 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you