ClassLoader currentContextCl = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(ServletAuthUtils.class.getClassLoader());
Session adminSession = null;
try {
// TODO centralise at a deeper level
ClassLoader currentContextCl = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader(ServletAuthUtils.class.getClassLoader());
Session adminSession = null;
try {
// TODO centralise at a deeper level