Skip to content

Commit 65c98e5

Browse files
committedNov 26, 2024
8344420: Remove Security Manager dependencies from javax.security package
Reviewed-by: alanb, rriggs, wetmore
1 parent 2465526 commit 65c98e5

File tree

10 files changed

+86
-599
lines changed

10 files changed

+86
-599
lines changed
 

‎src/java.base/share/classes/com/sun/security/ntlm/NTLM.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,8 +25,6 @@
2525

2626
package com.sun.security.ntlm;
2727

28-
import sun.security.action.GetBooleanAction;
29-
3028
import static com.sun.security.ntlm.Version.*;
3129
import java.io.IOException;
3230
import java.nio.charset.StandardCharsets;
@@ -57,8 +55,7 @@ class NTLM {
5755
private final MessageDigest md4;
5856
private final Mac hmac;
5957
private final MessageDigest md5;
60-
private static final boolean DEBUG
61-
= GetBooleanAction.privilegedGetProperty("ntlm.debug");
58+
private static final boolean DEBUG = Boolean.getBoolean("ntlm.debug");
6259

6360
final Version v;
6461

0 commit comments

Comments
 (0)
Please sign in to comment.