if (group == null) {
group = auth.getDefaultGroup(user);
conf.set(OozieClient.GROUP_NAME, group);
}
else {
auth.authorizeForGroup(user, group);
}
XLog.Info.get().setParameter(XLogService.GROUP, group);
auth.authorizeForApp(user, group, conf.get(OozieClient.APP_PATH), conf);
}
catch (AuthorizationException ex) {