How to restore the admin user access for web console. | Community
Skip to main content
Nagesh_Mohan
Level 2
Apr 2, 2019 11:47 AM UTC
Solved

How to restore the admin user access for web console.

Hi All,

Accidentally i have removed admin user name from : Apache Sling Web Console Security Provider so now i am unable to get inside system how can revoke it back

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
aemmarc2Accepted solution
Employee
Apr 2, 2019 1:51 PM UTC

On the file system go to :

\crx-quickstart\launchpad\config\org\apache\sling\extensions\webconsolesecurityprovider\internal

Edit the file SlingWebConsoleSecurityProvider.config

So that it looks something like this :

groups=[ \

  "", \

  ]

service.pid="org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider"

users=[ \

  "admin", \

  ]

3 replies

smacdonald2008
Level 10
Apr 2, 2019 2:11 PM UTC

Excellent answer

Translate
Nagesh_Mohan
Level 2
Apr 2, 2019 2:04 PM UTC

Thanks, it saved my day

Translate
aemmarc2Accepted solution
Employee
Apr 2, 2019 1:51 PM UTC

On the file system go to :

\crx-quickstart\launchpad\config\org\apache\sling\extensions\webconsolesecurityprovider\internal

Edit the file SlingWebConsoleSecurityProvider.config

So that it looks something like this :

groups=[ \

  "", \

  ]

service.pid="org.apache.sling.extensions.webconsolesecurityprovider.internal.SlingWebConsoleSecurityProvider"

users=[ \

  "admin", \

  ]

Translate