[jboss-jira] [JBoss JIRA] (WFLY-5227) Move security-manager subsystem from WildFly to WildFly Core

Ken Wills (JIRA) issues at jboss.org
Tue Nov 29 16:35:05 EST 2016


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

Ken Wills commented on WFLY-5227:
---------------------------------

After some digging, here are the steps that I propose:

(1) Checkout wildfly normally
    - branch for this change $ git branch -b security-manager
    - git filter-branch  --subdirectory-filter security-manager -- --all
    - This will result in security-manager being moved to the root of the wildfly project, so move it back to a subdir, preserving history:
         git filter-branch --prune-empty --tree-filter '
            if [[ ! -e security-manager  ]]; then
                 mkdir -p security-manager
                 git ls-tree --name-only $GIT_COMMIT | xargs -I files mv files security-manager
            fi'
     - git rebase -i and remove commits up to 'de72c28 WFLY-401 Add the security manager subsystem'

(2) wildfly-core
     - git checkout -b security-manager
     - git remove add <location of wildfly above>
     - git fetch wildfly security-manager
     - git pull wildfly security-manager
     - enable the security-manager subsystem in core, and build.[1]
     - commit this change & push to GH
    
(3) The wildfly security manager branch above may now be deleted
      - create a new branch, and remove the security-manager, push branch to GH

(4)  Perform CI testing using the wilfly integrations tests, pointing to both branches from above.

(5) Once testing etc is successful, we'll need to perform the change as follows:
      - wildfly-core PR should add and enable the security-manager
      - wildfly PR will remove the security manager and upgrade wildfly-core to the newer version.

[1] still needs some documentation.

> Move security-manager subsystem from WildFly to WildFly Core
> ------------------------------------------------------------
>
>                 Key: WFLY-5227
>                 URL: https://issues.jboss.org/browse/WFLY-5227
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security Manager
>            Reporter: Josef Cacek
>            Assignee: Ken Wills
>            Priority: Critical
>
> It's not possible to define security permissions in WildFly Core without {{security-manager}} subsystem. Therefore the subsystem should be moved from WildFly to the Core.
> More details in the [Permissions in WildFly Core|http://lists.jboss.org/pipermail/wildfly-dev/2015-August/thread.html#4353] thread on {{wildfly-dev}} mailing list.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list