mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8344992: Remove Security Manager dependencies from java.security.cert API and implementations
Reviewed-by: rriggs, hchao
This commit is contained in:
parent
65c98e577f
commit
c5de307284
12 changed files with 73 additions and 137 deletions
|
@ -30,7 +30,6 @@ import java.security.GeneralSecurityException;
|
|||
import java.security.cert.*;
|
||||
import java.util.*;
|
||||
|
||||
import sun.security.action.GetBooleanAction;
|
||||
import sun.security.provider.certpath.PKIX.BuilderParams;
|
||||
import sun.security.util.Debug;
|
||||
|
||||
|
@ -55,8 +54,8 @@ abstract class Builder {
|
|||
* Authority Information Access extension shall be enabled. Currently
|
||||
* disabled by default for compatibility reasons.
|
||||
*/
|
||||
static final boolean USE_AIA = GetBooleanAction
|
||||
.privilegedGetProperty("com.sun.security.enableAIAcaIssuers");
|
||||
static final boolean USE_AIA =
|
||||
Boolean.getBoolean("com.sun.security.enableAIAcaIssuers");
|
||||
|
||||
/**
|
||||
* Initialize the builder with the input parameters.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue