Expand my Community achievements bar.

SOLVED

osgi bundle whitelist error in 6.2

Avatar

Level 4

Hi,

I observed following error in error.log file.

05.01.2017 17:08:16.061 *ERROR* [qtp2020412890-166] com.adobe.granite.repository.impl.SlingRepositoryImpl Bundle com.adobe.connect.osgi.service.connect-osgi-service is NOT whitelisted to use SlingRepository.loginAdministrative.

 

what does it mean that bundle is not whitelisted to use?

I have changed following line  in bundle:

repository.loginAdministrative(null)  to repository.login(new SimpleCredentials("admin", "admin".toCharArray()));

As it is depcreted.

I am not able to get it.

 

Any concern?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this community article :- https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html

// It is recommended to use system user now.

Video :- https://youtu.be/aDgckdmD0fI

How to create a system user:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// Creating an AEM System User for AEM 6.1. See http://adobe.ly/1NfBOSz

I hope this would help you.

~kautuk



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Level 10

In AEM 6.2 - you use the User SLing Mapping Service. Read this AEM Artilce to learn how to do it: 

http://scottsdigitalcommunity.blogspot.ca/2014/12/querying-adobe-experience-manager-6.html

There is also a video you can watch to see all the steps. 

Hope this helps. 

Avatar

Correct answer by
Administrator

Hi 

Please have a look at this community article :- https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html

// It is recommended to use system user now.

Video :- https://youtu.be/aDgckdmD0fI

How to create a system user:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// Creating an AEM System User for AEM 6.1. See http://adobe.ly/1NfBOSz

I hope this would help you.

~kautuk



Kautuk Sahni