Skip to content

Commit aa79b4c

Browse files
author
Stephane Landelle
committed
Rename Realm.domain, close AsyncHttpClient#593
1 parent 32c74a4 commit aa79b4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/src/main/java/org/asynchttpclient/Realm.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Realm {
4848
private final String enc;
4949
private final String host;
5050
private final boolean messageType2Received;
51-
private final String domain;
51+
private final String ntlmDomain;
5252
private final Charset charset;
5353
private final boolean useAbsoluteURI;
5454
private final boolean omitQuery;
@@ -58,7 +58,7 @@ public enum AuthScheme {
5858
}
5959

6060
private Realm(AuthScheme scheme, String principal, String password, String realmName, String nonce, String algorithm, String response,
61-
String qop, String nc, String cnonce, String uri, String method, boolean usePreemptiveAuth, String domain, String enc,
61+
String qop, String nc, String cnonce, String uri, String method, boolean usePreemptiveAuth, String ntlmDomain, String enc,
6262
String host, boolean messageType2Received, String opaque, boolean useAbsoluteURI, boolean omitQuery) {
6363

6464
this.principal = principal;
@@ -75,7 +75,7 @@ private Realm(AuthScheme scheme, String principal, String password, String realm
7575
this.uri = uri;
7676
this.methodName = method;
7777
this.usePreemptiveAuth = usePreemptiveAuth;
78-
this.domain = domain;
78+
this.ntlmDomain = ntlmDomain;
7979
this.enc = enc;
8080
this.host = host;
8181
this.messageType2Received = messageType2Received;
@@ -164,7 +164,7 @@ public boolean getUsePreemptiveAuth() {
164164
* @return the NTLM domain
165165
*/
166166
public String getNtlmDomain() {
167-
return domain;
167+
return ntlmDomain;
168168
}
169169

170170
/**

0 commit comments

Comments
 (0)