Bug 1215244
| Summary: | console-enabled="false" does not work in domain mode to disable web access to admin console | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Marc Shirley <mshirley> |
| Component: | Domain Management | Assignee: | baranowb <bbaranow> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Simka <msimka> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.4, 6.3.3 | CC: | bbaranow, brian.stansberry, cdewolf, dandread, hpehl, jawilson, jkudrnac, pjelinek, rhatlapa |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
The handler for the core-service=managment/management-interface=http resource's "add" operation is ignoring the "console-enabled" attribute when it sets up the runtime services for the interface.
Consequence:
The admin console cannot be disabled on the master Domain Controller.
Fix:
The handler now uses the value of the console-enabled attribute when deciding whether to install the console.
Result:
The console can be disabled by setting the "console-enabled" attribute to "false".
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-17 10:12:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1219165 | ||
|
Description
Marc Shirley
2015-04-24 18:25:54 UTC
I just added docs text, written as if this were already fixed. It's not, but it's easy. The org.jboss.as.host.controller.operations.HttpManagementAddHandler class should be more like the org.jboss.as.server.operations.HttpManagementAddHandler class, and handle this attribute. Note the server class isn't perfect either as it does this: boolean consoleEnabled = model.get(ModelDescriptionConstants.CONSOLE_ENABLED).asBoolean(true); instead of using the correct idiom and delegating to the AttributeDefinition: boolean consoleEnabled = CONSOLE_ENABLED.resolveModelAttribute(console, model).asBoolean(); That flaw doesn't harm anything, but might as well correct it. Fix pending merge: WFCORE-678 Verified for EAP 6.4.2.CP.CR1. Retroactively bulk-closing issues from released EAP 6.4 cumulative patches. |