com.atlassian.jira.configurator.config
Class SslSettings

java.lang.Object
  extended by com.atlassian.jira.configurator.config.SslSettings

public class SslSettings
extends Object


Constructor Summary
SslSettings(String httpsPort, String keystoreFile, String keystorePass, String keystoreType, String keyAlias)
           
 
Method Summary
 boolean equals(Object o)
           
 String getHttpsPort()
           
 String getKeyAlias()
          In case the returned value is null, it denotes the first certificate found in the key store.
 String getKeystoreFile()
          In case this is, null it denotes the .keystore file in the operation system home directory of the user that is running Tomcat.
 String getKeystorePass()
           
 String getKeystoreType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SslSettings

public SslSettings(@Nonnull
                   String httpsPort,
                   @Nullable
                   String keystoreFile,
                   @Nonnull
                   String keystorePass,
                   @Nonnull
                   String keystoreType,
                   @Nullable
                   String keyAlias)
Method Detail

getHttpsPort

@Nonnull
public String getHttpsPort()

getKeystoreFile

@Nullable
public String getKeystoreFile()
In case this is, null it denotes the .keystore file in the operation system home directory of the user that is running Tomcat.

Returns:
the key store containing the key and the certificate

getKeystorePass

@Nonnull
public String getKeystorePass()

getKeystoreType

@Nonnull
public String getKeystoreType()

getKeyAlias

@Nullable
public String getKeyAlias()
In case the returned value is null, it denotes the first certificate found in the key store.

Returns:
either the concrete alias or the first key in the key store

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2002-2013 Atlassian. All Rights Reserved.