Use the actual NetIQ config for its profile provider

This commit is contained in:
Max Dor
2018-10-13 17:44:26 +02:00
parent cdb56aec1f
commit 544cab816c
4 changed files with 20 additions and 11 deletions

View File

@@ -48,12 +48,13 @@ public class ProfileManager {
@PostConstruct
public void build() {
providers = providers.stream()
.filter(ProfileProvider::isEnabled)
.collect(Collectors.toList());
log.info("--- Profile providers ---");
this.providers.forEach(pp -> log.info("\t- {}", pp.getClass().getSimpleName()));
providers = providers.stream()
.filter(pp -> {
log.info("\t- {} - Is enabled? {}", pp.getClass().getSimpleName(), pp.isEnabled());
return pp.isEnabled();
})
.collect(Collectors.toList());
}
public <T> List<T> getList(Function<ProfileProvider, List<T>> function) {