sling:OsgiConfig Node changes are not applying in Felix config manager

By : VAr
Source: Stackoverflow.com
Question!

Am trying to make the sling:OsgiConfig nodes as per this link for Apache Sling Service User Mapper and Apache Sling Service User Mapper Service Amendment Felix configuration, But those are not reflecting into Felix console, is there anything am missing for these nodes.?

Note : below node changes are reflecting for the as per the link.

org.apache.jackrabbit.oak.spi.security.authentication.external.impl.DefaultSyncHandler.config

Nodes which are not reflecting into Felix configuration.

org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended.config

enter image description here enter image description here

By : VAr


Answers

The thing you need to do is give the multibound config item a specific unique name. e.g.

org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-custom mind the "custom" part.. this one has to be a unique string.

you'd see that happening if you only added your custom ammended config entry through the /system/console/configMgr

By : ub1k


This video can help you solving your question :)
By: admin