clients.put(StringUtils.defaultIfBlank(fieldMap.get(SbtConstants.DROPBOX_GADGET_OA_SERVICE_NAME), SbtConstants.DEFAULT_DROPBOX_SERVICE_NAME),
createDropBoxClient(fieldMap));
}
private DominoOAuthClient createDropBoxClient(Map<String, String> fieldMap) {
DominoOAuthClient client = new DropBoxOAuthClient(StringUtils.trim(fieldMap.get(SbtConstants.DROPBOX_OA_CONSUMERKEY)),
StringUtils.trim(fieldMap.get(SbtConstants.DROPBOX_OA_CONSUMERSECRET)));
return client;
}