I was able to dpeloy the bundles and start the application.But the below exception is thrown
org.apache.sling.api.resource.LoginException: Bundle com.xxxxxxx is NOT whitelisted
Please can you provide the steps to white list the bundles.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You probably using the SlingRepository.loginAdministrative() method to get session, you should be using subservice session.
Check this Service Users in AEM
If your bundle still want to use SlingRepository.loginAdministrative() then you can whitelist your bundle from OSGI config manager
Hi,
You probably using the SlingRepository.loginAdministrative() method to get session, you should be using subservice session.
Check this Service Users in AEM
If your bundle still want to use SlingRepository.loginAdministrative() then you can whitelist your bundle from OSGI config manager
How we can do in publish instance?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies