Saturday, January 3, 2015

Python socksipy: SFTP with Paramiko via SOCKS proxy

I use Paramiko library to access SFTP servers in Python. Paramiko is easy to use, provides programmer with rich functionality, but it does not support proxy servers out of the box. There is a small library socksipy that can be easily integrated with Paramiko.

Wednesday, July 16, 2014

Kerberos Windows configuration for Java 7

After migrating to Java 7, our Java client application was unable to authenticate via Kerberos on Windows. If you have the same problem, the following configuration may help you solve it. There is a key allowtgtsessionkey in Windows registry that allows client application to decrypt session key of Kerberos Ticket Granting Ticket (TGT).

Saturday, February 16, 2013

Spring Security and Http Basic Authentication

This article will show you how to use Spring Security to protect your web application with Http Basic Authentication.

Log4jdbc: Logging JDBC activity and SQL queries

In an application that frequently queries a database it is important to know what is happening now, how often this or that query occurs and how long it takes to get result. Log4jdbc allows to log database activity e.g. SQL queries, processing time, result sets, connection usage.

Friday, February 15, 2013

Monday, July 2, 2012

Spring MVC and Velocity WebApp

This tutorial shows how to use Velocity templates with Spring MVC. Velocity is more flexible templating engine than JSP/JSTL standard templates. We will create a simple application that contains 2 pages: list and detail. These pages will have common layout.

Tuesday, May 8, 2012

MySQL: Sort by column with NULLs on top

Common task, when you need to sort table data by a column, that may have null values and you want to put nulls to the top.