Kerberos authentication initial impőlementation as a middleware (further tuning is required)