}
private Object initConfiguration(@Nonnull ServiceReference reference, @Nonnull ConfigurationParameters params) {
Object service = reference.getBundle().getBundleContext().getService(reference);
if (service instanceof ConfigurationBase) {
ConfigurationBase cfg = (ConfigurationBase) service;
cfg.setSecurityProvider(this);
cfg.setParameters(ConfigurationParameters.of(params, cfg.getParameters()));
}
return service;
}