I recently got the ques­tion how can you add other users to access the OSGi con­sole, so that you don’t need to use always the admin-account.

This is a valid ques­tion when you don’t want to expose the admin-account/password to a lot of people.

Steps how to do it

Go to this con­fig­u­ra­tion in the OSGi-console “Apache Sling Web Con­sole Secu­rity Provider”

felix

In this con­fig­u­ra­tion you can add users or add groups that have access to the OSGi-console.

As explained in my pre­vi­ous post it is bet­ter to have con­fig­u­ra­tion nodes than mak­ing changes manually.

@heervisscher

0 comments