[jboss-jira] [JBoss JIRA] (WFWIP-96) MP Health - security enabled, no user yed added, user get info about adding user to access web console

Darran Lofthouse (JIRA) issues at jboss.org
Fri Aug 10 04:47:00 EDT 2018


    [ https://issues.jboss.org/browse/WFWIP-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13617462#comment-13617462 ] 

Darran Lofthouse commented on WFWIP-96:
---------------------------------------

For management requests we actually send that error as a management response, I wonder if for health something similar can be implemented.

> MP Health - security enabled, no user yed added, user get info about adding user to access web console
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WFWIP-96
>                 URL: https://issues.jboss.org/browse/WFWIP-96
>             Project: WildFly WIP
>          Issue Type: Bug
>          Components: MP Health
>            Reporter: Rostislav Svoboda
>            Assignee: Jeff Mesnil
>            Priority: Minor
>
> 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 is user is not yet so familiar with WildFly.
> I marked this as minor bug.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list