Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
taoliult committed Dec 4, 2024
1 parent 74a1a74 commit 08ae456
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
40 changes: 20 additions & 20 deletions closed/test/jdk/openj9/internal/security/TestProviders.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,28 @@ private static Stream<Arguments> patternMatches_expectedExitValue0() {
return Stream.of(
// Test strict profile provider list.
Arguments.of("TestBase.Version",
System.getProperty("test.src") + "/provider-java.security",
"(?s)(?=.*Sun)(?=.*\\bSunJCE\\b)(?=.*SunJSSE)"),
// Test default profile provider list.
Arguments.of("TestBase",
System.getProperty("test.src") + "/provider-java.security",
"(?s)(?=.*Sun)(?=.*SunRsaSign)(?=.*SunEC)(?=.*SunJSSE)"
+ "(?=.*SunJCE)(?=.*SunJGSS)(?=.*SunSASL)"
+ "(?=.*XMLDSig)(?=.*SunPCSC)(?=.*JdkLDAP)(?=.*JdkSASL)"),
// Test extended profile provider list.
Arguments.of("TestBase.Version-Extended",
System.getProperty("test.src") + "/provider-java.security",
"(?s)(?=.*Sun)(?=.*SunRsaSign)(?=.*SunEC)(?=.*SunJSSE)"
+ "(?=.*SunJCE)(?=.*SunJGSS)(?=.*SunSASL)"
+ "(?=.*XMLDSig)(?=.*SunPCSC)(?=.*JdkLDAP)(?=.*JdkSASL)"),
// Test update provider list with value.
Arguments.of("Test-Profile.Updated_1",
System.getProperty("test.src") + "/provider-java.security",
"(?s)(?=.*Sun)(?=.*\\bSunJCE\\b)(?=.*SunSASL)"),
// Test update provider list with null.
Arguments.of("Test-Profile.Updated_2",
System.getProperty("test.src") + "/provider-java.security",
"(?s)(?=.*Sun)(?=.*\\bSunJCE\\b)(?=.*SunJSSE)")
// // Test default profile provider list.
// Arguments.of("TestBase",
// System.getProperty("test.src") + "/provider-java.security",
// "(?s)(?=.*Sun)(?=.*SunRsaSign)(?=.*SunEC)(?=.*SunJSSE)"
// + "(?=.*SunJCE)(?=.*SunJGSS)(?=.*SunSASL)"
// + "(?=.*XMLDSig)(?=.*SunPCSC)(?=.*JdkLDAP)(?=.*JdkSASL)"),
// // Test extended profile provider list.
// Arguments.of("TestBase.Version-Extended",
// System.getProperty("test.src") + "/provider-java.security",
// "(?s)(?=.*Sun)(?=.*SunRsaSign)(?=.*SunEC)(?=.*SunJSSE)"
// + "(?=.*SunJCE)(?=.*SunJGSS)(?=.*SunSASL)"
// + "(?=.*XMLDSig)(?=.*SunPCSC)(?=.*JdkLDAP)(?=.*JdkSASL)"),
// // Test update provider list with value.
// Arguments.of("Test-Profile.Updated_1",
// System.getProperty("test.src") + "/provider-java.security",
// "(?s)(?=.*Sun)(?=.*\\bSunJCE\\b)(?=.*SunSASL)"),
// // Test update provider list with null.
// Arguments.of("Test-Profile.Updated_2",
// System.getProperty("test.src") + "/provider-java.security",
// "(?s)(?=.*Sun)(?=.*\\bSunJCE\\b)(?=.*SunJSSE)")
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
RestrictedSecurity.TestBase.Version.desc.name = Test Base Profile
RestrictedSecurity.TestBase.Version.desc.default = false
RestrictedSecurity.TestBase.Version.desc.fips = true
RestrictedSecurity.TestBase.Version.desc.hash = SHA256:24859dcd916c3d301c0a8d0a58f96f7c3a493cadad48ff1c91a5151f2cdd2d49
RestrictedSecurity.TestBase.Version.desc.hash = SHA256:0ca32676ac2ae92d0469cbf293f3a69416c5d0312c80473319452f4d6995d234
RestrictedSecurity.TestBase.Version.desc.number = Certificate #XXX
RestrictedSecurity.TestBase.Version.desc.policy = https://csrc.nist.gov/projects/cryptographic-module-validation-program/certificate/
RestrictedSecurity.TestBase.Version.desc.sunsetDate = 2026-09-21
Expand Down

0 comments on commit 08ae456

Please sign in to comment.