authenticationModule.setCasServiceUrl(casServiceUrl);
authenticationModule.setCasValidateUrl(casValidateUrl);
authenticationModule.setCasProxyValidateUrl(casProxyValidateUrl);
authenticationModule.setTransactionObject(db);
String authenticatedUserName = authenticationModule.authenticateUser(request);
logger.info("authenticatedUserName:" + authenticatedUserName);
if(authenticatedUserName != null)
principal = UserControllerProxy.getController(db).getUser(authenticatedUserName);
logger.info("principal:" + principal);
}