mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-23 16:55:09 +00:00
8005638: Less secure Authentication schemes should work when more secure schemes are not available
Reviewed-by: alanb
This commit is contained in:
parent
6061c09cab
commit
c994d9bc0e
@ -206,7 +206,8 @@ public class AuthenticationHeader {
|
||||
|
||||
if(v == null) {
|
||||
if ((v=schemes.get ("digest")) == null) {
|
||||
if (((v=schemes.get("ntlm"))==null)) {
|
||||
if (!NTLMAuthenticationProxy.supported
|
||||
|| ((v=schemes.get("ntlm"))==null)) {
|
||||
v = schemes.get ("basic");
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user