Bug 1326165

Summary: How to reorder JBoss LoginModules via CLI?
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: xuzhan
Component: CLIAssignee: Bartek Spyrko-Smietanko <bspyrkos>
Status: CLOSED NOTABUG QA Contact: Petr Kremensky <pkremens>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: brian.stansberry, bspyrkos, cdewolf, chaowan, jboss-set, xuzhan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-28 10:24:10 UTC Type: Feature Request
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description xuzhan 2016-04-12 02:49:12 UTC
Description of problem:
Customer want to have CLI command to reorder the sequence of <login-module> from standlane.xml/domain.xml

Version-Release number of selected component (if applicable):


How reproducible:

For example, customer has login-modules as below:
~~~
<security-domain name="other" cache-type="infinispan">
    <authentication>
        <login-module code="Remoting" flag="optional">
            <module-option name="password-stacking" value="useFirstPass"/>
        </login-module>
        <login-module code="RealmDirect" flag="required">
            <module-option name="password-stacking" value="useFirstPass"/>
        </login-module>
        <login-module code="RoleMapping" flag="optional">
            <module-option name="rolesProperties" value=Mapping.properties"/>
            <module-option name="replaceRole" value="true"/>
        </login-module>  
        <login-module code="abc.jboss.XYZ" flag="optional" module="abc.e">
            <module-option name="password-stacking" value="useFirstPass"/>
        </login-module>        
    </authentication>
</security-domain>
~~~

Customer wants to move the last <login-module> to the first place through CLI command.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Can this be done as a feature request in next release or near future?