Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1533

Integrate Management Access Control permission assignment with Elytron

    XMLWordPrintable

Details

    Description

      A big portion of management role based access control is taking the assigned roles and then mapping these to the permissions for that role.

      Elytron provides a new PermissionMapper interface that takes a SecurityIdentity and the roles mapped for that identity and returns a PermissionVerifier which can be as simple as a wrapper around a PermissionCollection.

      This will also be a good opportunity to start to move the role mapping out of the core management model to Elytron.

      After that Elytron allows for custom PermissionMapper implementations to be provided and associated with the domain using capabilities and requirements so we arrive at a point where provided the permission checks performed by management are generic enough custom PermissionMapper / PermissionVerifier implementations can be added that may or may not be role based.

      Note: As with everything we are doing old and new need to be supported in parallel for a while although this may be achieved by providing default Elytron implementations that are wrappers around the old.

      Attachments

        Activity

          People

            Unassigned Unassigned
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: