Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Bundle is NOT whitelisted in AEM | AEM Community Blog Seeding




Bundle is NOT whitelisted in AEM by Rashid Jorvee blog


While using the loginAdministrative() method of SlingRepository class you might see an error "Bundle is not whitelisted". To get this method work we have to whitelist the bundle in OSGi configuration "Apache Sling Login Admin Whitelist" this helps us to defines which bundles can use SlingRepository.loginAdministrative().

Below is the code snippet of creating session using loginAdministartive method.

private SlingRepository repository

Session session = repository.loginAdministrative(null);

Read Full Blog

Bundle is NOT whitelisted in AEM


Please use this thread to ask the related questions.

0 Replies