Skip to content

Commit

Permalink
Merge pull request #3658 from hisanhunais/userstore-preference-issue-…
Browse files Browse the repository at this point in the history
…4.8.x

[4.8.x] Fix NPE After Enabling Userstore Preference Order Feature
  • Loading branch information
hisanhunais authored Oct 6, 2023
2 parents a3df9e5 + 89d796d commit 0bf7a95
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11261,8 +11261,8 @@ private AuthenticationResult authenticateInternalWithID(String preferredUserName
// domain name provided with user name.

try {
String preferredUserNameProperty = claimManager
.getAttributeName(getMyDomainName(), preferredUserNameClaim);
String preferredUserNameProperty = abstractUserStoreManager.getClaimManager()
.getAttributeName(abstractUserStoreManager.getMyDomainName(), preferredUserNameClaim);
// Let's authenticate with the primary UserStoreManager.

if (abstractUserStoreManager.isUniqueUserIdEnabled()) {
Expand Down

0 comments on commit 0bf7a95

Please sign in to comment.