'Lower Case Output' option in Crowd can cause InvalidUserException in JIRA

Situation

  • Crowd
    • Crowd version is 2.5.3
    • User with Upper case username K0000 has been added to Crowd.
    • User with Lower case username k0001 has been added to Crowd.
    • 「Applications」(JIRA) - 「Options」 - 「Lower Case Output」 is turned on.
    • 「Applications」(JIRA) - 「Permissions」 - 「Modyfy User」 is turned on.
  • JIRA
    • JIRA version is 5.2.5.
    • Integrating JIRA with Crowd.
    • 「Crowd Permissions」 - 「Read/Write」 is turned on.
    • 「User Directories」 - 「Synchronise」
    • User with Lower case username k0000 has been added to JIRA.
    • User with Lower case username k0001 has been added to JIRA.
    • k0001 edited successfully the e-mail address.
    • k0000 failed to edit the e-mail address, and InvalidUserExcepton is occured.
      see an attachment Error.png, atlassia-jira.log.

I think Crowd can`t handle
Upper case username when Lower Case Output is turned on.
How do should I solve this problem.
Could you give us any advice?
Error.png

4 answers

1 accepted

This widget could not be displayed.

I believe you're running into an issue reported as CWD-3307 ("Usernames in updates posted to /user should be checked case-insensitively"). This is fixed in Crowd 2.6.3.

This widget could not be displayed.

Hi Ryosuke,

This is in fact expected behaviour because Crowd will convert the uppercase username to lower case when the "enforce lower case" option is set, meaning Crowd will convert any upper-case and mixed-case information, (usernames etc), to lower case before passing the information to the application.

So enabling this option should only be done when the application is expecting lowercase usernames because it will cause incoherence if it is enabled and you pass content containing uppercase characters as described in this document: https://confluence.atlassian.com/display/CROWD/Enforcing+Lower-Case+Usernames+and+Groups+for+an+Application

All
the best,
John

This widget could not be displayed.

Thanks John.
Thanks Jeseph.

I try to run Crowd 2.6.3. and I will report the results at a later date.

This widget could not be displayed.

Thanks Jeseph.

I confirmed that the problem can be solved by upgrade to Crowd 2.6.3.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

189 views 3 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you