src/java.base/share/classes/sun/net/www/protocol/http/NegotiateAuthentication.java
equal
deleted
inserted
replaced
47 |
47 |
48 @java.io.Serial |
48 @java.io.Serial |
49 private static final long serialVersionUID = 100L; |
49 private static final long serialVersionUID = 100L; |
50 private static final PlatformLogger logger = HttpURLConnection.getHttpLogger(); |
50 private static final PlatformLogger logger = HttpURLConnection.getHttpLogger(); |
51 |
51 |
|
52 @SuppressWarnings("serial") // Not statically typed as Serializable |
52 private final HttpCallerInfo hci; |
53 private final HttpCallerInfo hci; |
53 |
54 |
54 // These maps are used to manage the GSS availability for diffrent |
55 // These maps are used to manage the GSS availability for diffrent |
55 // hosts. The key for both maps is the host name. |
56 // hosts. The key for both maps is the host name. |
56 // <code>supported</code> is set when isSupported is checked, |
57 // <code>supported</code> is set when isSupported is checked, |
65 GetPropertyAction.privilegedGetProperty("jdk.spnego.cache", "true"); |
66 GetPropertyAction.privilegedGetProperty("jdk.spnego.cache", "true"); |
66 cacheSPNEGO = Boolean.parseBoolean(spnegoCacheProp); |
67 cacheSPNEGO = Boolean.parseBoolean(spnegoCacheProp); |
67 } |
68 } |
68 |
69 |
69 // The HTTP Negotiate Helper |
70 // The HTTP Negotiate Helper |
|
71 @SuppressWarnings("serial") // Not statically typed as Serializable |
70 private Negotiator negotiator = null; |
72 private Negotiator negotiator = null; |
71 |
73 |
72 /** |
74 /** |
73 * Constructor used for both WWW and proxy entries. |
75 * Constructor used for both WWW and proxy entries. |
74 * @param hci a schemed object. |
76 * @param hci a schemed object. |