[jboss-jira] [JBoss JIRA] (WFCORE-1781) DomainModelControllerService is installing the management request handlers for DC-related requests for slaves using cached-dc

Brian Stansberry (JIRA) issues at jboss.org
Fri Sep 28 11:10:00 EDT 2018


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

Brian Stansberry commented on WFCORE-1781:
------------------------------------------

I have a number of "WIP" branches that have been sitting inactive for a long time and I'm linking them to the related issues in case the work on them is useful. For this one:

https://github.com/bstansberry/wildfly-core/tree/WFCORE-1781


> DomainModelControllerService is installing the management request handlers for DC-related requests for slaves using cached-dc
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1781
>                 URL: https://issues.jboss.org/browse/WFCORE-1781
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Management
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>              Labels: domain-mode
>
> The DomainModelControllerService code block that parses a local domain.xml is also installing the service the allows the management interface to accept requests that uses the request headers meant for the master side slave->master intra-domain communications. This service should not be added in the slave using cached-dc case, but it is now.
> It also shouldn't be added if the DC is running admin-only.
> OTOH in all cases where it is not added, a different service should be added that will reject any slave registration requests that come in with the correct error codes that the slave knows how to parse. Currently that rejection is only happening for admin-only masters or slaves that are using cached-dc, which is not correct.



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


More information about the jboss-jira mailing list