Answer the question
In order to leave comments, you need to log in
How to access the Wildfly admin panel?
Faced such a problem. Until recently, the wildfly admin panel started up without problems, but now, when accessing localhost:9990 , the following panel falls out:
It's not entirely clear why it doesn't let me into the admin panel + what kind of interface? I tried to add, but it comes out like this:
I am authorized. The server is running. There is nothing criminal in the logs.
When accessing 127.0.0.1:9990/management I get:
{
"outcome" : "failed",
"failure-description" : "WFLYCTL0313: Unauthorized to execute operation 'read-resource' for resource '[]' - \"WFLYCTL0332: Permission denied\"",
"rolled-back" : true
}
Answer the question
In order to leave comments, you need to log in
The problem was with permissions. WildFly, unlike JBoss, supports 2 schemes for ensuring user rights in the admin panel:
- Simple - similar to JBoss. Any admin has unlimited rights.
- RBAC (Role Based Access Control) - allows, respectively, to differentiate access to the admin panel.
By default, when installing the server, the access parameter is set to Simple and is located here:
{wildfly}\standalone\configuration\standalone.xml
{wildfly}\domain\configuration\domain.xml
<management>
...
<access-control provider="simple">
<role-mapping>
<role name="SuperUser">
<include>
<user name="$local"/>
</include>
</role>
</role-mapping>
</access-control>
</management>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question