I recent­ly got the ques­tion how can you add oth­er 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-accoun­t/­pass­word to a lot of peo­ple.

Steps how to do it

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

felix

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

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

@heervisscher

0 comments