AEM 6.4 Whitelist of bundles

ADOBE_AEM 08-09-2018

I was able to dpeloy the bundles and start the application.But the below exception is thrown Bundle com.xxxxxxx is NOT whitelisted

Please can you provide the steps to white list the bundles.

Mark Solution

Are these answers useful?
Help other community members by marking useful answers as accepted.

Accepted Solutions (0)

Answers (1)

Answers (1)



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

Screen Shot 2018-09-08 at 3.55.41 PM.png