Saturday 21 June 2014

Manage OSGi Console / Felix Console Permissions.

Namastey ,

By default only user 'admin' has got access on  OSGi console / Felix Console.
You would probably need give permission to some more user who can access this console but don't want to share admin password with them.

But this provide access to those users doesn't seems to be possible from /useradmin console of AEM , as it manages rights on repository content specifically and it doesn't have any option of OSGi console.

So , If you are in same scenario , you can follow below steps :
1. Create a group through /useradmin console of AEM, e.g osgi_console_admin
2. Add the user whom you want to provide access to OSGi console.
3. Go to Apache Sling Web Console Security Provider configuration in OSGi console through admin user.
http://host:port/system/console/configMgr/org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider

4. Add the created group name in the configurations and save .

5. You can also add username directly , but it is not a recommended approach.

Quick Tip : To change password of admin user for felix console , you can simply change the password of admin user present in /useradmin console.



Dhanywaad !!

No comments:

Post a Comment

Basic Sling Model Exporter

/* Open a page which is having component /apps/project/components/page/page /content/project/en/jcr:content.model.json Don't miss...