You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Basic auth changed to raw auth header
* Basic Auth header method created
* Basic and Digest auth applied together fixed
Co-authored-by: Martin Vigliarolo <[email protected]>
publicvoidaddAuthentication(inttype, Stringrealm, Stringname, Stringvalue) { // Metodo overriden por tratarse de forma distinta el pasaje de auth Basic y el resto
146
+
if (type == BASIC)
147
+
lastAuthIsBasic = true;
148
+
else
149
+
lastAuthIsBasic = false;
150
+
super.addAuthentication(type,realm,name,value);
151
+
}
152
+
153
+
@Override
154
+
publicvoidaddProxyAuthentication(inttype, Stringrealm, Stringname, Stringvalue) { // Metodo overriden por tratarse de forma distinta el pasaje de auth Basic y el resto
for (Enumerationen = getBasicAuthorization().elements(); en.hasMoreElements(); ) {
320
+
for (Enumerationen = getBasicAuthorization().elements(); en.hasMoreElements(); ) {// No se puede hacer la autorizacion del tipo Basic con el BasicCredentialsProvider porque esta funcionando bien en todos los casos
for (Enumerationen = getBasicProxyAuthorization().elements(); en.hasMoreElements(); ) {
358
+
for (Enumerationen = getBasicProxyAuthorization().elements(); en.hasMoreElements(); ) {// No se puede hacer la autorizacion del tipo Basic con el BasicCredentialsProvider porque esta funcionando bien en todos los casos
0 commit comments