mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
25.17.2016 01bf9b6a5d324d45355659581e9ebbd1280834fe
opendj-server-legacy/src/main/java/org/opends/quicksetup/SecurityOptions.java
@@ -54,7 +54,7 @@
  private CertificateType certificateType;
  private String keyStorePath;
  private String keyStorePassword;
  private Set<String> aliasesToUse = new TreeSet<>();
  private final Set<String> aliasesToUse = new TreeSet<>();
  private SecurityOptions()
  {
@@ -111,7 +111,7 @@
   * @return a new instance of a SecurityOptions using a self-signed
   *         certificate.
   */
  public static SecurityOptions createSelfSignedCertificateOptions(boolean enableSSL, boolean enableStartTLS,
  private static SecurityOptions createSelfSignedCertificateOptions(boolean enableSSL, boolean enableStartTLS,
      int sslPort, Collection<String> aliasesToUse)
  {
      return createOptionsForCertificatType(
@@ -404,7 +404,7 @@
   * Sets the certificates aliases name.
   * @param aliasesToUse the certificates aliases name.
   */
  void setAliasToUse(Collection<String> aliasesToUse)
  private void setAliasToUse(Collection<String> aliasesToUse)
  {
    this.aliasesToUse.clear();
    this.aliasesToUse.addAll(aliasesToUse);