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

* add notifications to AS7 resources description

notifications are described in :read-resource-description operation if

the notifications boolean is true

* NotificationDefinition let any resources describe the notifications

they can emit by registering them in the ManagementResourceRegistration

* add NotificationRegistry (exposed by the ModelController) to

register/unregister notification handlers

* add NotificationSupport to emit notifications during a managemenet

operations (through OperationContext.emit(Notification))

Notifications emitted by OperationContext.emit(Notification) are

effectively sent at the end of the operation execution if it is

successful. This ensure that the order of notifications emitted by a

single OperationContext will be received in the same order (unless they

are emitted during the ResultHandler execuion).

If the NotificationSupport is created with an ExecutorService, the

delivery of notifications is non-blocking and will not block the

remaining code path of the operation execution.

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

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

  1. … 63 more files in changeset.
Core split: Remove all non-core modules, add dependencies on org.wildfly.core artifacts

    • -165
    • +0
    ./resources/test/configuration/domain.xml
  1. … 3440 more files in changeset.
Remove #registerMetric(String attributeName, OperationStepHandler metricHandler, EnumSet<AttributeAccess.Flag> flags)

  1. … 7 more files in changeset.
Remove #registerMetric(String attributeName, OperationStepHandler metricHandler)

  1. … 7 more files in changeset.
Remove #registerReadOnlyAttribute(String attributeName, OperationStepHandler readHandler, EnumSet<AttributeAccess.Flag> flags)

  1. … 7 more files in changeset.
Remove #registerReadWriteAttribute(String attributeName, OperationStepHandler readHandler, OperationStepHandler writeHandler, EnumSet<AttributeAccess.Flag> flags)

  1. … 7 more files in changeset.
Remove #registerReadWriteAttribute(String attributeName, OperationStepHandler readHandler, OperationStepHandler writeHandler, AttributeAccess.Storage storage)

  1. … 7 more files in changeset.
Remove #registerOperationHandler(String operationName, OperationStepHandler handler, DescriptionProvider descriptionProvider)

  1. … 5 more files in changeset.
Don't use deprecated apis, part 1

  1. … 22 more files in changeset.
[WFLY-3304] Fix fetching domain config from master in --admin-only mode

  1. … 24 more files in changeset.
[WFLY-3228] Make sure ApplyRemoteMasterDomainModelHandler applies the values for the root resource

  1. … 1 more file in changeset.
[WFLY-3069] call remove at the correct resource

  1. … 1 more file in changeset.
[WFLY-2870] Support separate 'secure-interface' configuration on Host Controller http-interface

  1. … 18 more files in changeset.
Spelling fixes

    • -1
    • +1
    ./resources/test/configuration/domain.xml
  1. … 378 more files in changeset.
[WFLY-536] differentiate between reload and restart required when dealing with out of sync servers

  1. … 13 more files in changeset.
[WFLY-2864] WildFly Controller module

  1. … 204 more files in changeset.
[WFLY-547] track uncleanly unregistered slave hosts

  1. … 25 more files in changeset.
[WFLY-2105] prevent removal of a server-group which is still in use

  1. … 5 more files in changeset.
[WFLY-490] / [WFLY-2043] Configurable policy for how admin-only slaves obtain access control config

  1. … 17 more files in changeset.
[WFLY-490] / [WFLY-1820] Record and report where sensitivity and application constraints are used

  1. … 41 more files in changeset.
WFLY-1988 : The issue arise when te randomly generated auth key contains the NULL char 0x00. Now each 0x00 is replaced by 0x01.

  1. … 1 more file in changeset.
[WFLY-490] [WFLY-1915] RBAC config domain propagation

  1. … 16 more files in changeset.
[WFLY-490] Move the controller module RBAC mgmt API classes into one package

  1. … 148 more files in changeset.
[WFLY-490] Redo the relationship between Authorizer and the configuration

Introduce an AuthorizerConfiguration interface to encapsulate all configuration state from the management API.

Use that for accessing configuration state in DefaultPermissionFactory and the role mappers.

Provide a writable implementation to the various OSHs responsible for handling management ops.

Formalize support for the is-caller-in-role op.

Remove the ConfigurableAuthorizer interface; move API up to Authorizer.

Flesh out how a custom Authorizer would integrate; added CustomAuthorizer interface.

  1. … 66 more files in changeset.
[WFLY-490] Scoped roles

  1. … 47 more files in changeset.
[WFLY-490] Remove the addressable parameter from authorizeOperation

  1. … 7 more files in changeset.
[WFLY-490] Add OperationContext javadoc; rename AuthorizationResponse

  1. … 7 more files in changeset.
[WFLY-1618] / [WFLY-490] Addition of the runtime role mapping implementation.

Also Switch identity association over to use an AccessControlContext instead of ThreadLocal.

Expose Caller from OperationContext and initialise based on the currently associated Subject.

As the role mapping is happening within controller additional Principal types are created that controller can expect to present in the Subject of the authenticated user.

Added a new is-caller-in-role operation, this allows a quick check that the currently authenticated user has the expected role.

The Subject is now marked as readOnly so we do need to deal with the contents changing.

Added a test case to test various permutations of role mapping and also minor fixes for issues detected by the test.

  1. … 43 more files in changeset.
[WFLY-490] Make sure we get exceptions and defaults for fixed child resources as well

  1. … 8 more files in changeset.
[WFLY-490] Add access-control for resources to read-resource-description

  1. … 15 more files in changeset.