Created

Sep 13, 2012

Grant access to OSGi-console to other users

Posted by Feike Visser

I recently got the question how can you add other users to access the OSGi console, so that you don't need to use always the admin-account.

This is a valid question when you don't want to expose the admin-account/password to a lot of people.

Steps how to do it

Go to this configuration in the OSGi-console "Apache Sling Web Console Security Provider"

felix

In this configuration you can add users or add groups that have access to the OSGi-console.

As explained in my previous post it is better to have configuration nodes than making changes manually.

@heervisscher

COMMENTS

  • By Jörg - 7:50 PM on Sep 13, 2012   Reply
    Can you restrict users/groups to read-only (no write-access to configs)?
  • By khach san da nang - 8:59 AM on Jan 31, 2013   Reply
    How to identify the right for 1 on 1 small item?
  • By mutiara kata dan gambar gambar - 12:16 AM on Feb 15, 2013   Reply
    thanks for information Grant access to OSGi-console to other users
  • By danijel - 2:23 PM on Mar 13, 2013   Reply
    Hi all,

    when I follow these instructions (approach with creating configuration node), and try to log in to Felix console with 'testhc' user, I get the following error (error.log file):
    GET /system/console/bundles HTTP/1.1] org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider authenticate: Expected user ID testhc to refer to a user

    I have created 'testhc' user by using useradmin console.

    Do you know what is wrong?
  • By jual propolis murah - 5:56 AM on Apr 01, 2013   Reply
    informative post, its so useful, keep it up
  • By manfaat madu - 5:57 AM on Apr 01, 2013   Reply
    wow, i dont know that, this is a great share, thank you
  • By belly bands for dogs - 5:57 AM on Apr 01, 2013   Reply
    nice share, it open my mind even more now, thanks
  • By wooden dog crates - 5:58 AM on Apr 01, 2013   Reply
    i dont know at first that it will be a useful information, but really, thank you for posting it
  • By bee propolis hd - 5:58 AM on Apr 01, 2013   Reply
    This information really helped me understand Things beyond my expertise. websites like this expanding knowledge everyone and I hope something like this will continue to grow
  • By diễn đàn seo - 5:26 AM on Apr 15, 2013   Reply
    it open my mind even more now, thanks
  • By bao phu nu - 7:16 PM on Apr 16, 2013   Reply
    Great! This information really helped me understand Things beyond my expertise
  • By forum game - 7:16 PM on Apr 16, 2013   Reply
    something like this will continue to grow
  • By cộng đồng lập trình - 3:51 PM on Apr 17, 2013   Reply
    its so useful, keep it up
  • By hdi bee propolis - 9:31 AM on Apr 20, 2013   Reply
    awesome information man, thx
  • By manfaat madu asli - 9:10 AM on Apr 21, 2013   Reply
    what a great post, thx for the share
  • By small wood burning stoves - 10:16 AM on Apr 23, 2013   Reply
    wow great information, thank you
  • By hoi an travel - 5:49 AM on Apr 26, 2013   Reply
    Wow..thanks for information Grant access to OSGi-console to other users
  • By nj photo booth rental - 4:58 PM on Apr 27, 2013   Reply
    Thanks for keeping us informed
  • By lampe torche votreeclairage - 10:18 PM on May 13, 2013   Reply
    Your article shows you have a lot of background in this topic. Can you direct me to other articles about this? I will recommend this article to my friends as well. Thanks
  • By Chambres d'hotes cassis - 5:08 AM on May 14, 2013   Reply
    It's the greatest precious time to create some plans for the future and also it is time to be happy. I have actually reviewed this blog post and also if I might I prefer to suggest you handful of captivating points or ideas. And examine this: <a href="http://www.financeutile.com">financement participatif projet</a> and <a href="http://mathsmalin.fr/exercices10/6,aires-et-perimetres.html">exercices aires et périmètres 6eme</a>.