return null;
}
private SecurityModel loadSecurityModel(final String applicationId) throws UamClientException {
try {
final IModelMetaInfo modelMetaInfo = applicationService.getModelMetaInfo(applicationId);
if (modelMetaInfo == null) {
throw new UamClientException(MessageFormat.format("Application {0} is not found or doesn't contain the model information.", applicationId)); //$NON-NLS-1$
}
final SecurityModel model = securityContainerFactory.getSecurityContainer(modelMetaInfo.getModel()).getModel();
if (model == null) {
throw new UamClientException(MessageFormat.format("Model {0} is not found", modelMetaInfo.getId())); //$NON-NLS-1$
}
return model;
} catch (final RemoteAccessException e) {
throw new FlexessConnectException(MessageFormat.format("Can't connect: {0}.", e.getLocalizedMessage()), e); //$NON-NLS-1$
}