Skip to content

Commit f92a82c

Browse files
committed
Removed two unused methods used for nonexisting templates
Signed-off-by: David Matějček <[email protected]>
1 parent ce63ee6 commit f92a82c

File tree

1 file changed

+1
-28
lines changed
  • nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe

1 file changed

+1
-28
lines changed

nucleus/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/PEFileLayout.java

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022, 2023 Contributors to the Eclipse Foundation.
2+
* Copyright (c) 2022, 2025 Contributors to the Eclipse Foundation.
33
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
44
*
55
* This program and the accompanying materials are made available under the
@@ -540,33 +540,6 @@ public File getKeyStore() {
540540
return new File(getConfigRoot(), KEYSTORE);
541541
}
542542

543-
public static final String TRUSTSTORE_TEMPLATE = "cacerts.jks";
544-
545-
public File getTrustStoreTemplate() {
546-
return new File(getTemplatesDir(), TRUSTSTORE_TEMPLATE);
547-
}
548-
549-
/**
550-
* Should be used only in the cases where the actual keystore creation fails. The idea is when we are unable to create
551-
* the JKS-keystore, we should copy the keystore in templates folder into the domain's config folder. This keystore is
552-
* by no means a keystore for public use. It's just a keystore with a primary key "changeit" and associated certificate
553-
* with signature: -------------------------------------------------------------- Keystore type: jks Keystore provider:
554-
* SUN
555-
*
556-
* Your keystore contains 1 entry
557-
*
558-
* Alias name: s1as Creation date: Sep 11, 2008 Entry type: keyEntry Certificate chain length: 1 Certificate[1]: Owner:
559-
* CN=localhost, OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Issuer: CN=localhost,
560-
* OU=GlassFish, O=Sun Microsystems, L=Santa Clara, ST=California, C=US Serial number: 48c9e075 Valid from: Thu Sep 11
561-
* 20:22:29 PDT 2008 until: Sun Sep 09 20:22:29 PDT 2018 Certificate fingerprints: MD5:
562-
* 00:E5:5D:1F:07:CC:99:9F:CF:68:0E:AD:29:43:E0:48 SHA1: 1B:62:3E:B2:3D:D7:0B:63:80:92:EE:9A:59:F7:D5:9F:97:A3:FD:98
563-
* --------------------------------------------------------------
564-
*
565-
* @return File representing the keystore path. Does not check if the path actually exists.
566-
*/
567-
public File getKeyStoreTemplate() {
568-
return new File(getTemplatesDir(), KEYSTORE);
569-
}
570543

571544
public static final String TRUSTSTORE = "cacerts.jks";
572545

0 commit comments

Comments
 (0)