Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

package software.amazon.awssdk.http.nio.netty.internal;

import com.sun.security.auth.module.Krb5LoginModule;
import java.net.URI;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
Expand Down Expand Up @@ -72,7 +71,6 @@ public String generateAuthParams(URI proxyEndpoint) {
byte[] token = Subject.doAs(subject, (PrivilegedExceptionAction<byte[]>) () -> {
GSSContext ctx = createGssContext(getManager(), proxyEndpoint);
try {
ctx.requestMutualAuth(true);
return ctx.initSecContext(new byte[0], 0, 0);
} finally {
ctx.dispose();
Expand Down Expand Up @@ -124,7 +122,7 @@ private static GSSManager getManager() {
* Create a generic {@link Configuration} that instructs the Kerberos login module to simply look in the ticket cache, and
* not to prompt for passwords.
* <p>
* See javadoc for {@link Krb5LoginModule} for additional info on the configuration options.
* See javadoc for {@code com.sun.security.auth.module.Krb5LoginModule} for additional info on the configuration options.
*/
private static Configuration createDefaultConfig() {
return new Configuration() {
Expand Down
Loading