mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-20 20:00:28 +00:00
8038079: Re-examine integration of SPNEGO authentication
@module tags have been removed from the HttpNegotiateServer.java as it turns out exactly the same lines have been already defined in TEST.properties sitting in the same folder Reviewed-by: chegar, dfuchs
This commit is contained in:
parent
a6a7785d5e
commit
d98371fcfe
@ -48,7 +48,9 @@ public abstract class Negotiator {
|
||||
Class<?> clazz;
|
||||
Constructor<?> c;
|
||||
try {
|
||||
clazz = Class.forName("sun.net.www.protocol.http.spnego.NegotiatorImpl", true, null);
|
||||
clazz = Class.forName("sun.net.www.protocol.http.spnego.NegotiatorImpl",
|
||||
true,
|
||||
ClassLoader.getPlatformClassLoader());
|
||||
c = clazz.getConstructor(HttpCallerInfo.class);
|
||||
} catch (ClassNotFoundException cnfe) {
|
||||
finest(cnfe);
|
||||
|
||||
@ -42,6 +42,12 @@ module java.security.jgss {
|
||||
jdk.security.jgss;
|
||||
exports sun.security.krb5.internal.ktab to
|
||||
jdk.security.auth;
|
||||
|
||||
// Opens for reflective instantiation of sun.net.www.protocol.http.spnego.NegotiatorImpl
|
||||
// to sun.net.www.protocol.http.HttpURLConnection
|
||||
opens sun.net.www.protocol.http.spnego to
|
||||
java.base;
|
||||
|
||||
provides java.security.Provider with sun.security.jgss.SunProvider;
|
||||
provides sun.security.ssl.ClientKeyExchangeService
|
||||
with sun.security.krb5.internal.ssl.Krb5KeyExchangeService;
|
||||
|
||||
@ -215,8 +215,6 @@ sun/security/tools/keytool/ListKeychainStore.sh 8156889 macosx-a
|
||||
|
||||
sun/security/tools/jarsigner/warnings/BadKeyUsageTest.java 8026393 generic-all
|
||||
|
||||
sun/security/krb5/auto/HttpNegotiateServer.java 8038079 generic-all
|
||||
|
||||
sun/security/ssl/SSLSocketImpl/AsyncSSLSocketClose.java 8161232 macosx-all
|
||||
|
||||
sun/net/www/protocol/https/HttpsClient/ServerIdentityTest.java 8171043 windows-all
|
||||
|
||||
@ -24,13 +24,6 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 6578647 6829283
|
||||
* @modules java.base/sun.security.util
|
||||
* java.security.jgss/sun.security.jgss
|
||||
* java.security.jgss/sun.security.krb5
|
||||
* java.security.jgss/sun.security.krb5.internal
|
||||
* java.security.jgss/sun.security.krb5.internal.ccache
|
||||
* java.security.jgss/sun.security.krb5.internal.crypto
|
||||
* java.security.jgss/sun.security.krb5.internal.ktab
|
||||
* @run main/othervm HttpNegotiateServer
|
||||
* @summary Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication()
|
||||
* @summary HTTP/Negotiate: Authenticator triggered again when user cancels the first one
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user