]
Rostislav Svoboda updated WFLY-10861:
-------------------------------------
Component/s: Management
Priority: Blocker (was: Critical)
Marking as Blocker for WF 14
{code}
[10:18 AM] Rostislav Svoboda: what's the plan for
?
[10:22 AM] Jeff Mesnil: that's a bug that needs to be fixed for WFLY 14 but it lust
fit both the management console and additional management handlers like /health
{code}
MP Health - security enabled, no user yed added, user get info about
adding user to access web console, HTTP code is 200, should be 500
---------------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-10861
URL:
https://issues.jboss.org/browse/WFLY-10861
Project: WildFly
Issue Type: Bug
Components: Management, MP Health
Reporter: Rostislav Svoboda
Assignee: Jeff Mesnil
Priority: Blocker
I do {{:write-attribute(name=security-enabled, value=true)}} ++ reload of the server
Note: I didn't add user via {{bin/add-user.sh}}
When I'm trying to access
http://127.0.0.1:9990/health I receive page which is there
primarily for web console:
{code}
<h3>Your WildFly Application Server is running.</h3>
<p>However you have <strong>not</strong> yet <strong>added any
users</strong> to be able
to access the admin console.</p>
<p>To add a new user execute the <code>add-user.sh</code> script within
the bin folder of
your WildFly installation and enter the requested information.</p>
{code}
Can /health endpoint get customized response in case no mgmt user is defined on server
side ?
Current response can be little confusing if user is not yet so familiar with WildFly.
I marked this as minor bug.