Skip to content

Commit aafca9f

Browse files
iigoninbennygoerzigKarstenSchnitterKai Sternad
committed
Rename SecurityProviderService to SecurityConfigurationPrinter for improved clarity
Signed-off-by: Igonin <[email protected]> Co-authored-by: Benny Goerzig <[email protected]> Co-authored-by: Karsten Schnitter <[email protected]> Co-authored-by: Kai Sternad <[email protected]>
1 parent ecff1dc commit aafca9f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Service for displaying information about available security providers.
2020
* Provides utilities to inspect and report on the security environment.
2121
*/
22-
public class SecurityProviderService {
22+
public class SecurityConfigurationPrinter {
2323

2424
/**
2525
* Prints current security provider configuration to the console.

distribution/tools/fips-demo-installer-cli/src/main/java/org/opensearch/tools/cli/fips/truststore/ShowProvidersCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class ShowProvidersCommand implements Callable<Integer> {
2525

2626
@Override
2727
public final Integer call() {
28-
SecurityProviderService.printCurrentConfiguration(spec);
28+
SecurityConfigurationPrinter.printCurrentConfiguration(spec);
2929
return 0;
3030
}
3131
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import picocli.CommandLine;
1919

20-
public class SecurityProviderServiceTests extends OpenSearchTestCase {
20+
public class SecurityConfigurationPrinterTests extends OpenSearchTestCase {
2121

2222
private CommandLine.Model.CommandSpec spec;
2323
private StringWriter outputCapture;
@@ -40,7 +40,7 @@ public void testPrintCurrentConfigurationBasicStructure() {
4040
var providers = Security.getProviders();
4141

4242
// when
43-
SecurityProviderService.printCurrentConfiguration(spec);
43+
SecurityConfigurationPrinter.printCurrentConfiguration(spec);
4444

4545
// then
4646
String output = outputCapture.toString();
@@ -68,7 +68,7 @@ public void testPrintCurrentConfigurationKeyStoreServices() {
6868
.toList();
6969

7070
// when
71-
SecurityProviderService.printCurrentConfiguration(spec);
71+
SecurityConfigurationPrinter.printCurrentConfiguration(spec);
7272

7373
// then
7474
String output = outputCapture.toString();

0 commit comments

Comments
 (0)