Skip to content

Commit

Permalink
Merge pull request #8498 from thc202/non-null-realm
Browse files Browse the repository at this point in the history
  • Loading branch information
kingthorin committed May 28, 2024
2 parents 2534720 + 48a223c commit ea1572f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public WebSession authenticate(
userCredentials.getUsername(),
userCredentials.getPassword(),
InetAddress.getLocalHost().getCanonicalHostName(),
this.realm);
realm == null ? "" : realm);
session.getHttpState().setCredentials(stateAuthScope, stateCredentials);
} catch (UnknownHostException e1) {
user.getAuthenticationState().setLastAuthFailure(e1.getMessage());
Expand Down

0 comments on commit ea1572f

Please sign in to comment.