Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[WFLY-266] Notification support

* Refactor the registry for the notification handlers by splitting the map

into path segments to mitigate the o(n) cost.

* Rename the registry to NotificationHandlerRegistry and move it to the

org.jboss.as.controller.registry package (leveraging the

AtomicFieldUdpated of the package too)

JIRA: https://issues.jboss.org/browse/WFLY-266

9.x PR: https://github.com/wildfly/wildfly-core/pull/95

  1. … 20 more files in changeset.
[WFLY-3169] Emit local JMX notifications

* Emit JMX notifications based on WildFly's own notifications

* Notification is supported for JMX connections either in-vm (through

ManagementFactory.getPlatformMBeanServer() or WildFly's

MBeanServerService) and remotely if the JVM is started with the remote

monitoring and management

* WildFly remoting-jmx does not support JMX notifications

* WildFLy notification are converted to their idiomatic JMX

counterpart

* WildFly's attribute-value-written is converted to JMX's

AttibuteChangeNotification

* WildFly's resource-added and resource-removed are converted to JMX's

MBeanServerNotifications *and* emitted by the

MBeanServerDelegateMBean (like regular MBeans)

JIRA: https://issues.jboss.org/browse/WFLY-3169

9.x PR: https://github.com/wildfly/wildfly-core/pull/82

    • -0
    • +413
    ./org/jboss/as/jmx/BlockingNotificationMBeanServer.java
    • -1
    • +4
    ./org/jboss/as/jmx/JMXSubsystemAdd.java
    • -0
    • +12
    ./org/jboss/as/jmx/JmxMessages.java
    • -4
    • +5
    ./org/jboss/as/jmx/MBeanServerService.java
    • -9
    • +22
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
    • -5
    • +16
    ./org/jboss/as/jmx/RemotingConnectorAdd.java
    • -2
    • +4
    ./org/jboss/as/jmx/RemotingConnectorRemove.java
    • -5
    • +16
    ./org/jboss/as/jmx/RemotingConnectorService.java
    • -2
    • +23
    ./org/jboss/as/jmx/model/MBeanInfoFactory.java
  1. … 2 more files in changeset.
Core split: Remove all non-core modules, add dependencies on org.wildfly.core artifacts

    • -118
    • +0
    ./org/jboss/as/jmx/BaseMBeanServerPlugin.java
    • -59
    • +0
    ./org/jboss/as/jmx/CommonAttributes.java
    • -153
    • +0
    ./org/jboss/as/jmx/ExposeModelResource.java
    • -777
    • +0
    ./org/jboss/as/jmx/JMXExtension.java
    • -98
    • +0
    ./org/jboss/as/jmx/JMXSubsystemAdd.java
    • -45
    • +0
    ./org/jboss/as/jmx/JMXSubsystemRemove.java
    • -186
    • +0
    ./org/jboss/as/jmx/JMXSubsystemRootResource.java
    • -204
    • +0
    ./org/jboss/as/jmx/JmxAuditLogHandlerReferenceResourceDefinition.java
    • -159
    • +0
    ./org/jboss/as/jmx/MBeanRegistrationService.java
  1. … 3438 more files in changeset.
fixes after review

    • -1
    • +1
    ./org/jboss/as/jmx/model/MBeanInfoFactory.java
  1. … 8 more files in changeset.
Use value expression instead of setExpression()

    • -2
    • +3
    ./org/jboss/as/jmx/model/TypeConverters.java
  1. … 3 more files in changeset.
Convert JMX tests to RD/AD/OD

    • -1
    • +2
    ./org/jboss/as/jmx/model/MBeanInfoFactory.java
  1. … 7 more files in changeset.
[WFLY-3161] Bypass access control check for addresses irrelevant to JMX query

[WFLY-3124] JXM PluggableMBeanServerImpl assumes RealmUser principal

    • -2
    • +4
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
[WFLY-3076] Provide 'standalone' status from OperationContext, not from a management read

    • -3
    • +4
    ./org/jboss/as/jmx/JMXSubsystemAdd.java
    • -7
    • +10
    ./org/jboss/as/jmx/MBeanServerService.java
  1. … 3 more files in changeset.
WFLY-3073 fix broken MBeanServer.createMBean() methods

    • -2
    • +2
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
Remove naming dep from the JMX subsystem

    • -21
    • +37
    ./org/jboss/as/jmx/MBeanRegistrationService.java
  1. … 7 more files in changeset.
Spelling fixes

  1. … 378 more files in changeset.
[WFLY-2864] WildFly JMX module

    • -3
    • +2
    ./org/jboss/as/jmx/ExposeModelResource.java
    • -1
    • +2
    ./org/jboss/as/jmx/JmxAuditLogHandlerReferenceResourceDefinition.java
    • -104
    • +0
    ./org/jboss/as/jmx/JmxLogger.java
    • -4
    • +4
    ./org/jboss/as/jmx/MBeanRegistrationService.java
    • -5
    • +4
    ./org/jboss/as/jmx/ObjectNameFactory.java
    • -4
    • +5
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
    • -46
    • +101
    ./org/jboss/as/jmx/logging/JmxLogger.java
    • -399
    • +0
    ./org/jboss/as/jmx/JmxMessages.java
    • -6
    • +6
    ./org/jboss/as/jmx/model/MBeanInfoFactory.java
    • -13
    • +13
    ./org/jboss/as/jmx/model/TypeConverters.java
  1. … 7 more files in changeset.
[WFLY-2864] WildFly Controller module

  1. … 204 more files in changeset.
Update to WildFly Security Manager 1.0.0.Final

    • -1
    • +1
    ./org/jboss/as/jmx/model/SecurityActions.java
  1. … 43 more files in changeset.
[WFLY-2585] Accessing the current AccessControlContext needs to happen outside of the privileged action - otherwise the AccessControlContext is being replaced.

    • -30
    • +13
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
    • -0
    • +47
    ./org/jboss/as/jmx/SecurityActions.java
  1. … 5 more files in changeset.
[WFLY-490] / [WFLY-2337] Also ensure that there is always a Subject associated with the call even if one was not provided.

    • -19
    • +20
    ./org/jboss/as/jmx/ServerInterceptorFactory.java
  1. … 6 more files in changeset.
[WFLY-490] / [WFLY-1852] Further enhancement to add an AccessAuditContext used for holding some state for the duration of the operation.

Whilst the OperationContext made a good candidate for holding some of this as soon as interaction with non-management components occurred this state was no longer accessible.

The use of a ThreadLocal here uses the Subject.doAs stye so we can ensure any previous context is cleared as the call returns up the stack.

    • -3
    • +5
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
    • -0
    • +81
    ./org/jboss/as/jmx/SecurityActions.java
    • -1
    • +4
    ./org/jboss/as/jmx/ServerInterceptorFactory.java
  1. … 11 more files in changeset.
[WFLY-490] / [WFLY-1852] Move the access mechanism from a Principal to an operation-header

    • -9
    • +1
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
    • -22
    • +1
    ./org/jboss/as/jmx/ServerInterceptorFactory.java
  1. … 12 more files in changeset.
[WFLY-490] / [WFLY-1852] Ensure the InetAddressPrincipal is added at the time of authentication and not retrospectively added.

    • -12
    • +0
    ./org/jboss/as/jmx/ServerInterceptorFactory.java
  1. … 8 more files in changeset.
[WFLY-2218][WFLY-2237] Transformers and tests for jmx in 7.2.0

  1. … 2 more files in changeset.
[WFLY-490] [WFLY-2040] fix some test failures; note that there are still failures

  1. … 2 more files in changeset.
[WFLY-490][WFLY-2040] Throw JMRuntimeException if we are not authorized rather than MBeanRuntimeException

  1. … 1 more file in changeset.
[WFLY-490][WFLY-1983][WFLY-1986] For write-attribute and invoke do some extra checks to see if authorization failures came from vault expressions

    • -1
    • +2
    ./org/jboss/as/jmx/model/TypeConverters.java
  1. … 1 more file in changeset.
[WFLY-2075] Filter out bogus attributes from set of MBeanAttributeInfo

    • -1
    • +11
    ./org/jboss/as/jmx/model/MBeanInfoFactory.java
  1. … 1 more file in changeset.
[WFLY-490][WFLY-1983][WFLY-1986] For ModelController facade, throw InstanceNotFoundException if resource is unadressable and JMRuntimeException if attribute or operation cannot be read/written/executed

    • -0
    • +10
    ./org/jboss/as/jmx/JmxMessages.java
    • -0
    • +146
    ./org/jboss/as/jmx/model/ResourceAccessControlUtil.java
  1. … 6 more files in changeset.
[WFLY-456] Fix search for handler when running in domain mode

    • -5
    • +21
    ./org/jboss/as/jmx/JmxAuditLogHandlerReferenceResourceDefinition.java
[WFLY-456] Use bootDone() to set whether we are booting or not, and keep that state in ManagedAuditLoggerImpl rather than passing it in

    • -8
    • +7
    ./org/jboss/as/jmx/ExposeModelResource.java
    • -26
    • +4
    ./org/jboss/as/jmx/JMXSubsystemAdd.java
    • -4
    • +4
    ./org/jboss/as/jmx/JMXSubsystemRootResource.java
    • -148
    • +0
    ./org/jboss/as/jmx/JmxManagedAuditLogger.java
    • -3
    • +4
    ./org/jboss/as/jmx/MBeanServerService.java
    • -10
    • +9
    ./org/jboss/as/jmx/PluggableMBeanServerImpl.java
  1. … 3 more files in changeset.
[WFLY-456] Make sure that audit log log-boot gets set for jmx subsystem

[WFLY-490] Move the controller module RBAC mgmt API classes into one package

    • -2
    • +2
    ./org/jboss/as/jmx/JMXSubsystemRootResource.java
  1. … 147 more files in changeset.