@@ -51,7 +51,6 @@ public class Realm {
51
51
private final String nc ;
52
52
private final String cnonce ;
53
53
private final Uri uri ;
54
- private final String methodName ;
55
54
private final boolean usePreemptiveAuth ;
56
55
private final Charset charset ;
57
56
private final String ntlmHost ;
@@ -60,7 +59,6 @@ public class Realm {
60
59
private final boolean omitQuery ;
61
60
62
61
public enum AuthScheme {
63
-
64
62
BASIC , DIGEST , NTLM , SPNEGO , KERBEROS
65
63
}
66
64
@@ -76,7 +74,6 @@ private Realm(AuthScheme scheme,//
76
74
String nc ,//
77
75
String cnonce ,//
78
76
Uri uri ,//
79
- String methodName ,//
80
77
boolean usePreemptiveAuth ,//
81
78
Charset charset ,//
82
79
String ntlmDomain ,//
@@ -96,7 +93,6 @@ private Realm(AuthScheme scheme,//
96
93
this .nc = nc ;
97
94
this .cnonce = cnonce ;
98
95
this .uri = uri ;
99
- this .methodName = methodName ;
100
96
this .usePreemptiveAuth = usePreemptiveAuth ;
101
97
this .charset = charset ;
102
98
this .ntlmDomain = ntlmDomain ;
@@ -157,10 +153,6 @@ public Charset getCharset() {
157
153
return charset ;
158
154
}
159
155
160
- public String getMethodName () {
161
- return methodName ;
162
- }
163
-
164
156
/**
165
157
* Return true is preemptive authentication is enabled
166
158
*
@@ -200,7 +192,7 @@ public boolean isOmitQuery() {
200
192
public String toString () {
201
193
return "Realm{" + "principal='" + principal + '\'' + ", scheme=" + scheme + ", realmName='" + realmName + '\'' + ", nonce='" + nonce + '\'' + ", algorithm='" + algorithm
202
194
+ '\'' + ", response='" + response + '\'' + ", qop='" + qop + '\'' + ", nc='" + nc + '\'' + ", cnonce='" + cnonce + '\'' + ", uri='" + uri + '\''
203
- + ", methodName='" + methodName + '\'' + ", useAbsoluteURI='" + useAbsoluteURI + '\'' + ", omitQuery='" + omitQuery + '\'' + '}' ;
195
+ + ", useAbsoluteURI='" + useAbsoluteURI + '\'' + ", omitQuery='" + omitQuery + '\'' + '}' ;
204
196
}
205
197
206
198
/**
@@ -503,7 +495,6 @@ public Realm build() {
503
495
nc , //
504
496
cnonce , //
505
497
uri , //
506
- methodName , //
507
498
usePreemptive , //
508
499
charset , //
509
500
ntlmDomain ,//
0 commit comments