use of org.identityconnectors.framework.api.APIConfiguration in project syncope by apache.
the class ConnIdBundleManagerImpl method getConfigurationProperties.
@Override
public ConfigurationProperties getConfigurationProperties(final ConnectorInfo info) {
if (info == null) {
throw new NotFoundException("Invalid: connector info is null");
}
// create default configuration
APIConfiguration apiConfig = info.createDefaultAPIConfiguration();
// retrieve the ConfigurationProperties.
ConfigurationProperties properties = apiConfig.getConfigurationProperties();
if (properties == null) {
throw new NotFoundException("Configuration properties");
}
if (LOG.isDebugEnabled()) {
properties.getPropertyNames().forEach(propName -> {
LOG.debug("Property Name: {}" + "\nProperty Type: {}", properties.getProperty(propName).getName(), properties.getProperty(propName).getType());
});
}
return properties;
}
Aggregations