mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8344420: Remove Security Manager dependencies from javax.security package
Reviewed-by: alanb, rriggs, wetmore
This commit is contained in:
parent
246552674c
commit
65c98e577f
10 changed files with 86 additions and 599 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 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
|
||||
|
@ -25,8 +25,6 @@
|
|||
|
||||
package com.sun.security.ntlm;
|
||||
|
||||
import sun.security.action.GetBooleanAction;
|
||||
|
||||
import static com.sun.security.ntlm.Version.*;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
@ -57,8 +55,7 @@ class NTLM {
|
|||
private final MessageDigest md4;
|
||||
private final Mac hmac;
|
||||
private final MessageDigest md5;
|
||||
private static final boolean DEBUG
|
||||
= GetBooleanAction.privilegedGetProperty("ntlm.debug");
|
||||
private static final boolean DEBUG = Boolean.getBoolean("ntlm.debug");
|
||||
|
||||
final Version v;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue