logger.warn(String.format("Missing ListAuthDataCriteria! Got system=%s, func=%s, AccessMode=%s, "
+ "CommonRequestArgs=%s, dataTypes=%s", system, func, am, cra, dataTypes));
ApplicationException.exception(DAOMessageID.UNAUTHORIZED.getMessage());
}
ListAuthDataCriteria authDataCrit = new ListAuthDataCriteria();
authDataCrit.setSys(system).setAccessMode(am).setFunc(func).setDataTypes(dataTypes);
List<AuthData> authDataList = listAuthData(authDataCrit, cra);
if (authDataList.size() == 0) {
logger.info(String.format("No auth data found! with criteria system=%s, func=%s, AccessMode=%s, "
+ "CommonRequestArgs=%s, dataTypes=%s", system, func, am, cra, dataTypes));