@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        TLSOptions other = (TLSOptions) obj;
        if (allowAnyHost != other.allowAnyHost)
            return false;
        if (!Arrays.equals(allowedCiphers, other.allowedCiphers))
            return false;
        if (!Arrays.equals(allowedProtocols, other.allowedProtocols))
            return false;
        if (clientKeyStore == null) {
            if (other.clientKeyStore != null)
                return false;
        } else if (!clientKeyStore.equals(other.clientKeyStore))
            return false;
        if (devMode != other.devMode)
            return false;
        if (!Arrays.equals(disallowedCiphers, other.disallowedCiphers))
            return false;
        if (!Arrays.equals(disallowedProtocols, other.disallowedProtocols))
            return false;
        if (!Arrays.equals(keyAliases, other.keyAliases))
            return false;
        if (keyPassword == null) {
            if (other.keyPassword != null)
                return false;
        } else if (!keyPassword.equals(other.keyPassword))
            return false;
        if (keyStorePassword == null) {
            if (other.keyStorePassword != null)
                return false;
        } else if (!keyStorePassword.equals(other.keyStorePassword))
            return false;
        if (trustSelfSigned != other.trustSelfSigned)
            return false;
        if (trustStore == null) {
            if (other.trustStore != null)
                return false;
        } else if (!trustStore.equals(other.trustStore))
            return false;
        if (trustStorePassword == null) {
            if (other.trustStorePassword != null)
                return false;
        } else if (!trustStorePassword.equals(other.trustStorePassword))
            return false;
        return true;
    }
@param disallowedProtocols the disallowedProtocols to set
common/config/src/main/java/io/apiman/common/config/options/TLSOptions.java