mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8344248: Remove Security Manager dependencies from java.security.jgss and jdk.security.jgss modules
Reviewed-by: ascarpino
This commit is contained in:
parent
395e404666
commit
6113fa7503
42 changed files with 288 additions and 854 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -29,7 +29,6 @@ import org.ietf.jgss.*;
|
|||
import java.io.InputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import sun.security.action.GetBooleanAction;
|
||||
import sun.security.krb5.*;
|
||||
|
||||
class AcceptSecContextToken extends InitialToken {
|
||||
|
@ -44,8 +43,8 @@ class AcceptSecContextToken extends InitialToken {
|
|||
KrbApReq apReq)
|
||||
throws KrbException, IOException, GSSException {
|
||||
|
||||
boolean useSubkey = GetBooleanAction
|
||||
.privilegedGetProperty("sun.security.krb5.acceptor.subkey");
|
||||
boolean useSubkey = Boolean.getBoolean(
|
||||
"sun.security.krb5.acceptor.subkey");
|
||||
|
||||
boolean useSequenceNumber = true;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue